PHP Class yupe\components\actions\IndexAction

Inheritance: extends CActio\CAction
Mostrar archivo Open project: yupe/yupe

Public Properties

Property 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.

Public Methods

Method 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 ( )

Method Details

onAfterRender() public method

Raised right after the action invokes the render method.
public onAfterRender ( CEvent $event )
$event CEvent event parameter

onBeforeRender() public method

Event handlers can set the {@link CEvent::handled} property to be true to stop further view rendering.
public onBeforeRender ( CEvent $event )
$event CEvent event parameter

run() public method

public run ( )

Property Details

$layout public_oe property

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.
public $layout

$modelClass public_oe property

Model class for action.
public $modelClass

$modelScenario public_oe property

model scenario
public $modelScenario

$view public_oe property

the name of the view to be rendered.
public $view