Click here for EduSec Demo EduSec Screenshots
Displaying 16-20 of 32 results.

Definition of Widget , Portlet , Component, Extension

On 2013-06-10 - By Ravi Thanki

Widget:

Widget is a component that contains both logic and presentation.

Portlet:

Portlet is a special kind of widget that you usually see as a block on sidebar of a web page.

Component:

Component is the general term referring to a highly reusable class. A widget or a portlet is a compon...

Customized Email Validation Extension

On 2013-06-10 - By Ravi Thanki

Yii framework provide Email Extension. But there is one problem in email extension.

Yii email extension allow email address like e.g. test@gmail.123 but its not valid email address. so avoid this problem i have developed customize email extension.

Advantage:

Avoid to input invalid email address.

Datepicker in filter Search Box

On 2013-06-10 - By Ravi Thanki

yii framework provider filter seach facility in admin view. if we want add datepicker in filter box to search date in admin view.

Following example demostrate how to used datepicker in filter search box.

array(
‘name’ => ‘date’,
‘value’=>’($data->date ...

Dataprovider in Yii

On 2013-06-10 - By Ravi Thanki

There are 3 Types of Dataprovider in Yii.

1. CActiveDataProvider: To asociate data with a model.

2. CArrayDataProvider: To asociate data with any Array object.

3. CSqlDataProvider: To associate data with a custom SQL query.

Example:

We want to retrieve all users whose status field ...

create custom gridview using csqldataprovider.

On 2013-06-10 - By Ravi Thanki

CSqlDataProvider implements a data provider based on a plain SQL statement. CSqlDataProvider provides data in terms of arrays, each representing a row of query result. Like other data providers, CSqlDataProvider also supports sorting and pagination. It does so by modifying the given sql statement with "ORDER BY" and "LIMIT" clauses. You may configure the sort and paginati...