PHP Класс Prado\Web\UI\WebControls\TStatements

TStatements executes one or several PHP statements and renders the display generated during the execution. The execution happens during the rendering stage. The PHP statements being executed can be set via the property {@link setStatements Statements}. The context of the statemenets executed is the TStatements object itself. Note, since TStatements allows execution of arbitrary PHP statements, make sure {@link setStatements Statements} does not come directly from user input.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends Prado\Web\UI\TControl
Показать файл Открыть проект

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

Метод Описание
getStatements ( ) : string
render ( $writer ) Renders the evaluation result of the statements.
setStatements ( $value )

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

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

public getStatements ( ) : string
Результат string the statements to be executed

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

Renders the evaluation result of the statements.
public render ( $writer )

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

public setStatements ( $value )