PHP Class Prado\Web\UI\WebControls\TFlushOutput

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 You can specify whether you want to keep buffering of the output (if it was enabled) till the next occourence of a or the end of the page rendering, or stop buffering, by using the {@link setContinueBuffering ContinueBuffering}.
Since: 3.1
Author: Berczi Gabor ([email protected])
Inheritance: extends Prado\Web\UI\TControl
ファイルを表示 Open project: pradosoft/prado

Public Methods

Method Description
__construct ( ) Constructor.
getContinueBuffering ( ) : Tells
render ( $writer ) Flushes the output of all completely rendered controls to the client.
setContinueBuffering ( $value )

Method Details

__construct() public method

Constructor.
public __construct ( )

getContinueBuffering() public method

public getContinueBuffering ( ) : Tells
return Tells whether buffering of output can continue after this point

render() public method

Flushes the output of all completely rendered controls to the client.
public render ( $writer )

setContinueBuffering() public method

public setContinueBuffering ( $value )