IAction
| Package | system.base |
|---|---|
| Inheritance | interface IAction |
| Subclasses | CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction |
| Since | 1.0 |
| Version | $Id: interfaces.php 1678 2010-01-07 21:02:00Z qiang.xue $ |
IAction is the interface that must be implemented by controller actions.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getController() | IAction | |
| getId() | IAction | |
| run() | Runs the action. | IAction |
Method Details
getController()
method
|
abstract public CController getController()
| ||
| {return} | CController | the controller instance |
getId()
method
|
abstract public string getId()
| ||
| {return} | string | id of the action |
run()
method
|
abstract public void run()
|
Runs the action. This method is invoked by the controller owning this action.