Categories Yii Tags actionscontrolleryii In view file $this->uniqueid (controller name) $this->action->Id (action name) ($this is CController instance) In other files Yii::app()->controller->id Yii::app()->controller->action->id Share25 Related postsMay 8, 2013SALT implementation in YIIRead more - SALT implementation in YIIJune 18, 2011Enable In-place Editing in Yii GridRead more - Enable In-place Editing in Yii GridJune 8, 2011How to create custom validation ruleRead more - How to create custom validation rule