Class \Prado\Web\UI\WebControls\TFlushOutput
TFlushOutput class.
TFlushOutput enables forced flushing of the current output buffer at (a) certain point(s) in the page, after rendering of all previous controls has been completed.
To use TFlushOutput, simply place it in a template where you want the have the output buffered between the start of the page or the last TFlushOutput to be sent to the client immediately
<com:TFlushOutput />
You can specify whether you want to keep buffering of the output (if it was enabled) till the next occourence of a <com: TFlushOutput /> or the end of the page rendering, or stop buffering, by using the \Prado\Web\UI\WebControls\setContinueBuffering.
Class hierarchy
- \Prado\Web\UI\WebControls\TFlushOutput
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
|
public
|
|
public
|
render(THtmlWriter $writer) : mixed
Flushes the output of all completely rendered controls to the client.
|
public
|