On this page
IAction
| Package | system.base |
|---|---|
| Inheritance | interface IAction |
| Subclasses | CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction |
| Since | 1.0 |
| Source Code | framework/base/interfaces.php |
IAction is the interface that must be implemented by controller actions.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getController() | Returns the controller instance | IAction |
| getId() | Returns id of the action | IAction |
Method Details
getController() method
|
||
| {return} | CController | the controller instance |
getId() method
|
||
| {return} | string | id of the action |
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc/api/1.1/IAction