0 follower

IAction

Package system.base
Inheritance interface IAction
Subclasses CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction
Since 1.0
Version $Id$
Source Code framework/base/interfaces.php
IAction is the interface that must be implemented by controller actions.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getController() Returns the controller instance IAction
getId() Returns id of the action IAction
run() Runs the action. IAction

Method Details

getController() method
abstract public CController getController()
{return} CController the controller instance
Source Code: framework/base/interfaces.php#193 (show)
public function getController();

getId() method
abstract public string getId()
{return} string id of the action
Source Code: framework/base/interfaces.php#189 (show)
public function getId();

run() method
abstract public void run()
Source Code: framework/base/interfaces.php#185 (show)
public function run();

Runs the action. This method is invoked by the controller owning this action.