mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
pull origin
This commit is contained in:
@@ -36,6 +36,7 @@ class Controller extends Component implements ViewContextInterface
|
||||
* @event ActionEvent an event raised right after executing a controller action.
|
||||
*/
|
||||
const EVENT_AFTER_ACTION = 'afterAction';
|
||||
|
||||
/**
|
||||
* @var string the ID of this controller.
|
||||
*/
|
||||
@@ -61,11 +62,13 @@ class Controller extends Component implements ViewContextInterface
|
||||
* by [[run()]] when it is called by [[Application]] to run an action.
|
||||
*/
|
||||
public $action;
|
||||
|
||||
/**
|
||||
* @var View the view object that can be used to render views or view files.
|
||||
*/
|
||||
private $_view;
|
||||
|
||||
|
||||
/**
|
||||
* @param string $id the ID of this controller.
|
||||
* @param Module $module the module that this controller belongs to.
|
||||
|
||||
Reference in New Issue
Block a user