IAction

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部