Versions
Look up a class, method, property or event

IAction

Package system.base
Inheritance interface IAction
Subclasses CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction
Since 1.0
Version $Id: interfaces.php 1290 2009-08-06 16:13:11Z qiang.xue $
IAction is the interface that must be implemented by controller actions.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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.

Be the first person to leave a comment

Please to leave your comment.