What is the first function that gets loaded from a controller?
Answer / Dhananjay Kumar Mishra
In Yii PHP Framework, the first function that gets loaded from a controller is the `actionIndex()` function by default. However, you can override this behavior by defining your own action as the entry point for a specific route in the routes configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to enable the pretty url format in yii2?
What are the directory structure of yii?
How to get current controller id in yii ?
What are components in yii 2?
What is cmodel class in yii 2.0 framework?
Explain directory structure of yii 2 framework?
List some features yii 2 framework?
How to use delete(), insert() and save() methods in yii2?
What is latest version yii 2 framework?
Why yii is so fast?
Why gii is used in yii 2.0?
What about the naming convention in yii?