$module = Yii::app()->controller->module->id;
$controller = Yii::app()->controller->id;
$action = Yii::app()->getController()->getAction()->id;
得到module 模型名字。控制器名字。action函数名字。
网址::http://hudeyong926.iteye.com/blog/1283125
$module = Yii::app()->controller->module->id;
$controller = Yii::app()->controller->id;
$action = Yii::app()->getController()->getAction()->id;
得到module 模型名字。控制器名字。action函数名字。
网址::http://hudeyong926.iteye.com/blog/1283125
转载于:https://www.cnblogs.com/xiaoxiao2014/p/3878304.html