IAction
| 包 | system.base |
|---|---|
| 继承 | interface IAction |
| 子类 | CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction |
| 可用自 | 1.0 |
| 版本 | $Id$ |
IAction is the interface that must be implemented by controller actions.
方法详情
getController()
方法
|
abstract public CController getController()
| ||
| {return} | CController | the controller instance |
getId()
方法
|
abstract public string getId()
| ||
| {return} | string | id of the action |
run()
方法
|
abstract public void run()
|
Runs the action. This method is invoked by the controller owning this action.