PHP Class 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.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\Web\UI\TControl
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
getStatements ( ) : string
render ( $writer ) Renders the evaluation result of the statements.
setStatements ( $value )

Method Details

getStatements() public méthode

public getStatements ( ) : string
Résultat string the statements to be executed

render() public méthode

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

setStatements() public méthode

public setStatements ( $value )