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 |
What is the component, helper and why are they used, is there other way we can do same thing, what is better?
How we can call layouts in controller file in yii?
What is the purpose of “gii” in yii2?
What are the type of models available in yii framework ?
What do you mean by yii helpers?
What is gii in yii 2 and for what it is used?
What is active record (ar) in yii framework?
What are components in yii 2.0 framework?
How to use ajax in yii?
Who developed yii?
What is gii in yii 2.0 and why it is used?
How to enable the pretty url format in yii2?