PHP 클래스 yii\base\ViewEvent

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends Event
파일 보기 프로젝트 열기: yiisoft/yii2

공개 프로퍼티들

프로퍼티 타입 설명
$isValid whether to continue rendering the view file. Event handlers of [[View::EVENT_BEFORE_RENDER]] may set this property to decide whether to continue rendering the current view file.
$output the rendering result of [[View::renderFile()]]. Event handlers may modify this property and the modified output will be returned by [[View::renderFile()]]. This property is only used by [[View::EVENT_AFTER_RENDER]] event.
$params the parameter array passed to the [[View::render()]] method.
$viewFile the view file being rendered.

프로퍼티 상세

$isValid 공개적으로 프로퍼티

whether to continue rendering the view file. Event handlers of [[View::EVENT_BEFORE_RENDER]] may set this property to decide whether to continue rendering the current view file.
public $isValid

$output 공개적으로 프로퍼티

the rendering result of [[View::renderFile()]]. Event handlers may modify this property and the modified output will be returned by [[View::renderFile()]]. This property is only used by [[View::EVENT_AFTER_RENDER]] event.
public $output

$params 공개적으로 프로퍼티

the parameter array passed to the [[View::render()]] method.
public $params

$viewFile 공개적으로 프로퍼티

the view file being rendered.
public $viewFile