Antes de la acción Methoond en el 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