How can i get the name of the controller that is currently active?
so if i load the index/index.php which is the IndexController controller i would like to know that it's the index controller.
Thanks.
How can i get the name of the controller that is currently active?
so if i load the index/index.php which is the IndexController controller i would like to know that it's the index controller.
Thanks.
Yii::app()->controller.
Thanks.