Category Archives: Yii framework
31. List out some database related functions in Yii? Query, find, findAll , findByPk , find By 32. How to include a javascript menu through a site? We can include by adding the javascript files in webroot and then call them in default views if they are needed everywhere or in the related views. 33.
more..
21. What is the differences between render , renderPartial and renderfile in yii framework ? render() is commonly used to render a view that corresponds to what a user sees as a “page” in your application. It first renders the view you have specified and then renders the layout for the current controller action (if
more..
11. How to set default controller on Yii Project ? We can set on configuration file (protected/config/main.php). array( 'name'=>'Yii Framework', 'defaultController'=>'site', ) 12. How to access application components on Yii Project ? To access an application component, use Yii::app()->ComponentID, where ComponentID refers to the ID of the component (e.g. Yii::app()->cache). 13. What are the core
more..
1. What is Yii ? Yii is a high-performance, component-based PHP framework for developing large-scale Web applications rapidly. It enables maximum reusability in Web programming and can significantly accelerate your Web application development process. 2. What are the requirements need for use Yii framework? you need a Web server that supports PHP 5.1.0. You also
more..