Class \Prado\Web\UI\ActiveControls\TCallbackResponseAdapter
TCallbackResponseAdapter alters the THttpResponse's outputs.
A TCallbackResponseWriter is used instead of the TTextWrite when createHtmlWriter is called. Each call to createHtmlWriter will create a new TCallbackResponseWriter. When flushContent() is called each instance of TCallbackResponseWriter's content is flushed.
The callback response data can be set using the \Prado\Web\UI\ActiveControls\setResponseData property.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TCallbackResponseAdapter
- \Prado\Web\THttpResponseAdapter
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
createNewHtmlWriter(string $type, THttpResponse $response) : mixed
Returns a new instance of THtmlWriter.
An instance of TCallbackResponseWriter is created to hold the content. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |