Antes da ação metoond no controlador Yii 1
class UniversityDegreeController extends Controller
{
protected function beforeAction($action)
{
$actionId = $this->getAction()->getId();
echo $actionId; // 'index' | 'update' | 'delete'
return parent::beforeAction($action);
}
}
Elated Eel