Click here for EduSec Demo EduSec Screenshots
Displaying 21-25 of 32 results.

A Typical Workflow of Yii Framework

On 2013-06-10 - By Ravi Thanki

For Figure :

https://ravithanki.wordpress.com/about-yii-framework/

1. A user makes a request with the URL http://www.example.com/index.php?r=post/show&id=1 and the Web server handles the request by executing the bootstrap script index.php.

2. The bootstrap script creates an...

nullDisplay property in Cgridview

On 2013-06-10 - By Ravi Thanki

The text to be displayed in a data cell when a data value is null. This property will NOT be HTML-encoded when rendering. Defaults to an HTML blank. So, No need to apply ternary condition for null value.

widget(‘zii.widgets.grid.CGridView’, array(
‘id’ => ‘my-model-grid’,
‘dataProvider’ => $model->search(),

Yii SEO Extension

On 2013-06-10 - By Ravi Thanki

SEO is short for search engine optimization or search engine optimizer.

Search engine optimization is a methodology of strategies, techniques and tactics used to increase the amount of visitors to a website  by obtaining a high-ranking placement in the search results page of  search engine  including Google, Bing, Yahoo and other s...

Concate String in CHtml::listData

On 2013-06-10 - By Ravi Bhalodiya

I have table with following fields :
id
roll_no
name
branch

Here is my data :

1    7005    Ravi          CE
2    7006    Parth        CE
3    7007    ...

Search By reference or Search by Foreign key Name

On 2013-06-10 - By Ravi Thanki

Below post is about search by foreign key in admin gridview.

Generally we insert id of master table into child table at time of display id will display in admin gridview but we want to display actuall value of id's and implement searching on it.

Lets. understand by following example.

...