How to access module component?
Answer / Rahul Sharma
To access module components in Yii 2.0, you can use the $this->module property in a controller that belongs to the module. For example: $this->module->someComponentId.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is cmodel class in yii 2.0 framework?
How to get current controller name?
How can you include a javascript menu throught the site? Give steps
What about the naming convention in yii?
Explain naming convention in yii 2 framework?
How we can remove index.php from url in yii?
What are the directory structure of yii?
How to get current action name?
What is the first function that gets loaded from a controller?
List some features yii 2 framework?
Which orm does yii2 supports?
How can we set a flash message in yii2?