get current Controller who owns the action

echo Yii::app()->controller->getId;
echo Yii:app()->getController->id;
echo Yii:app()->controller->uniqueID;
posted on 2016-05-24 11:42  阿卡贝拉  阅读(81)  评论(0)    收藏  举报