Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How you can write a custom component and use it inside your app?



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

Post New Answer

More Yii PHP Framework Interview Questions

Explain the application life cycle of yii framework ?

1 Answers  


Which php version is required to install yii 2.0?

1 Answers  


Why use yii 2.0 framework?

1 Answers  


What is the difference between render() and renderpartial() in yii ?

1 Answers  


What is gii?

1 Answers  


What is gii? Why it is used?

1 Answers  


How to get current action & controller name in yii2?

1 Answers  


List some features yii 2 framework?

1 Answers  


How can we set a flash message in yii2?

1 Answers  


How to compare yii with other frameworks? Explain

1 Answers  


What are the prerequisites yii?

1 Answers  


Why gii is used in yii 2.0?

1 Answers  


Categories