IAction

优质
小牛编辑
122浏览
2023-12-01
所有包 | 方法
system.base
继承interface IAction
子类CAction, CCaptchaAction, CInlineAction, CViewAction, CWebServiceAction
源自1.0
版本$Id: interfaces.php 3515 2011-12-28 12:29:24Z mdomba $
源码framework/base/interfaces.php
IAction是控制器动作类必须实现的接口。

公共方法

隐藏继承方法

方法描述定义在
getController()返回控制器实例IAction
getId()返回动作IDIAction

方法详细

getController() 方法
abstract public CController getController()
{return}CController控制器实例
源码: framework/base/interfaces.php#188 (显示) publicfunctiongetController(); getId() 方法
abstract public string getId()
{return}string动作ID
源码: framework/base/interfaces.php#184 (显示) publicfunctiongetId();