Question:What is component in yii? 

Answer Yii applications are built upon components which are objects written to a specification. A component is an instance of CComponent or its derived class. Using a component mainly involves accessing its properties and raising/handling its events. Example: CDbConnection this component provides a database connection. [page#25(pdf), http://www.yiiframework.com/doc/guide/1.1/en/basics.component] 

+ Report
Total Preview: 862
What is component in yii?
Copyright © 2024. Powered by Intellect Software Ltd