How to get current controller id in yii ?
Answer / Arun Prakash Krishna Vimal
Use the `getControllerId()` function from the Yii Active Controller class (e.g., `yiibaseController`) to get the ID of the current controller.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is another controller view in yii?
What are the directory structure of yii?
How to get current url in yii?
What are the application structure of yii 2.0 framework?
What are the advantages of yii2?
In yii, how to get ip address?
What is the difference between render() and renderpartial() in yii ?
How to use form validations in yii?
Can you list some database related functions in yii?
How to change the existing style of yii pagination?
What about the naming convention in yii?
How to enable the pretty url format in yii2?