In Yii framework if we want to get name of current controller name. It can be done by following command. [crayon-5d13978c0a8f7900254550/]