IAction

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

Public Methods

Method Description Defined By
getController() Returns the controller instance IAction
getId() Returns id of the action IAction

Method Details

getController() method

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

getId() method

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

© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc/api/1.1/IAction