How you can write a custom component and use it inside your app?
Answer / Amita Maurya
Create a new PHP class that extends the base Component class in the components folder. Then, register your custom component in the main configuration of your application under the 'components' array.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the application life cycle of yii framework ?
Which php version is required to install yii 2.0?
Why use yii 2.0 framework?
What is the difference between render() and renderpartial() in yii ?
What is gii?
What is gii? Why it is used?
How to get current action & controller name in yii2?
List some features yii 2 framework?
How can we set a flash message in yii2?
How to compare yii with other frameworks? Explain
What are the prerequisites yii?
Why gii is used in yii 2.0?