PHP Класс Prado\Web\UI\ActiveControls\TCallbackResponseWriter

TCallbackResponseWriter class enclosed a chunck of content within a html comment boundary. This allows multiple chuncks of content to return in the callback response and update multiple HTML elements. The {@link setBoundary Boundary} property sets boundary identifier in the HTML comment that forms the boundary. By default, the boundary identifier is generated using microtime.
С версии: 3.1
Наследование: extends Prado\IO\TTextWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) Constructor. Generates unique boundary ID using microtime.
flush ( ) : string Returns the text content wrapped within a HTML comment with boundary identifier as its comment content.
getBoundary ( ) : string
setBoundary ( $value )

Описание методов

__construct() публичный Метод

Constructor. Generates unique boundary ID using microtime.
public __construct ( )

flush() публичный Метод

Returns the text content wrapped within a HTML comment with boundary identifier as its comment content.
public flush ( ) : string
Результат string text content chunck.

getBoundary() публичный Метод

public getBoundary ( ) : string
Результат string boundary identifier.

setBoundary() публичный Метод

public setBoundary ( $value )