A)) config/main.php 1. name your webapp ‘name’=’my webapp’ 2. enable gii ‘gii’=>array( ‘class’=>’system.gii.GiiModule’, ‘password’=>’password’, // If removed, Gii defaults to … More
Category: YII
Using Google Transliterate API with YII
Using Google Transliterate API is straight forward. However to meet the goals of the small project (Webapp for food Catering … More
YII PHP Framework Hacks
Styling Radio Buttons http://www.yiiframework.com/wiki/110/styling-radio-buttons/ Removing the Manage Buttons array( ‘type’=>’raw’, ‘value’=>’CHtml::link($data->id,array(“update”, “id”=>$data->id))’, ‘header’=>’Edit’ ),
Handling related models in YII forms
Many AWBs can be carried in one Trip. One AWB can be carried across Many Trips. We will use MySQL … More
First Step before Creating a Webapp with YII
Install LAMP Server Install PHPunit % sudo pear channel-discover pear.phpunit.de% sudo pear install phpunit/PHPUnit Install Selenium Download Selenium Remote Control … More