Свойство | Type | Description | |
---|---|---|---|
$layout | the name of the layout to be applied to the views. This will be assigned to {@link CController::layout} before the view is rendered. Defaults to null, meaning the controller's layout will be used. If false, no layout will be applied. | ||
$modelClass | Model class for action. | ||
$modelScenario | model scenario | ||
$view | the name of the view to be rendered. |
Méthode | Description | |
---|---|---|
onAfterRender ( CEvent $event ) | Raised right after the action invokes the render method. | |
onBeforeRender ( CEvent $event ) | Raised right before the action invokes the render method. | |
run ( ) |
public onAfterRender ( CEvent $event ) | ||
$event | CEvent | event parameter |
public onBeforeRender ( CEvent $event ) | ||
$event | CEvent | event parameter |
public $layout |