Sebelum Tindakan Methoond di Yii 1 Controller
class UniversityDegreeController extends Controller
{
protected function beforeAction($action)
{
$actionId = $this->getAction()->getId();
echo $actionId; // 'index' | 'update' | 'delete'
return parent::beforeAction($action);
}
}
Elated Eel