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 |
What is the latest version of yii?
How can you include a javascript menu throught the site? Give steps
List some features yii 2 framework?
Why gii is used?
What is widgets in yii? How we can use it?
What are the application structure of yii 2.0 framework?
What is yii framework?
What are components in yii 2.0 framework?
How you can write a custom component and use it inside your app?
What are the core application components available on yii?
What are the great feature of yii framework?
What is name of first file the loaded when yii 2.0 framework starts?