PHP Класс yii\base\ViewEvent

С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends Event
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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