PHP Class FilterGroup
FilterGroup is a container of Filters that are based on the same attribute.
For selector attribute values, the Filters are generated automatically.
Mostra file
Open project: damnpoet/yiicart
Class Usage Examples
Public Methods
Method Details
attributeLabels()
public method
model()
public static method
Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : FilterGroup |
$className |
string |
active record class name. |
return |
FilterGroup |
the static model class |
relations()
public method
public rules ( ) : array |
return |
array |
validation rules for model attributes. |
Retrieves a list of models based on the current search/filter conditions.
public search ( ) : CActiveDataProvider |
return |
CActiveDataProvider |
the data provider that can return the models based on the search/filter conditions. |
tableName()
public method