Class \Prado\Web\UI\ActiveControls\TCallbackEventParameter
The TCallbackEventParameter provides the parameter passed during the callback request in the \Prado\Web\UI\ActiveControls\getCallbackParameter property. The callback response content (e.g. new HTML content) must be rendered using an THtmlWriter obtained from the \Prado\Web\UI\ActiveControls\getNewWriter property, which returns a NEW instance of TCallbackResponseWriter.
Each instance TCallbackResponseWriter is associated with a unique boundary delimited. By default each panel only renders its own content. To replace the content of ONE panel with that of rendered from multiple panels use the same writer instance for the panels to be rendered.
The response data (i.e., passing results back to the client-side callback handler function) can be set using \Prado\Web\UI\ActiveControls\setResponseData property.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TCallbackEventParameter
- \Prado\TEventParameter implements IEventParameter
- \Prado\TComponent
Since: 3.1
public
|
__construct(THttpResponse $response, mixed $parameter) : mixed
Creates a new TCallbackEventParameter.
|
public
|
|
public
|
|
public
|
|
public
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |