PHP Class yupe\components\actions\BaseIndexAction

Inheritance: extends CActio\CAction
Show file Open project: yupe/yupe

Public Properties

Property Type Description
$criteria criteria which applied to $dataProvider
$dataProviderClass class of dataProvider
$dataProviderConfig dataProvider config
$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.
$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

$criteria public property

criteria which applied to $dataProvider
public $criteria

$dataProviderClass public property

class of dataProvider
public $dataProviderClass

$dataProviderConfig public property

dataProvider config
public $dataProviderConfig

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

Model class for action.
public $modelClass

$view public property

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