IAction
包 | system.base |
---|---|
继承 | interface IAction |
子类 | CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction |
可用自 | 1.0 |
源码 | framework/base/interfaces.php |
IAction is the interface that must be implemented by controller actions.
公共方法
方法 | 描述 | 被定义在 |
---|---|---|
getController() | Returns the controller instance | IAction |
getId() | Returns id of the action | IAction |
方法详情
getController()
方法
abstract public CController getController()
| ||
{return} | CController | the controller instance |
getId()
方法
abstract public string getId()
| ||
{return} | string | id of the action |