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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )