Static Public Member Functions |
static | model ($className=__CLASS__) |
Detailed Description
Definition at line 12 of file Sites.php.
Member Function Documentation
Sites::attributeLabels |
( |
| ) |
|
- Returns
- array customized attribute labels (name=>label)
Definition at line 62 of file Sites.php.
static Sites::model |
( |
|
$className = __CLASS__ | ) |
|
|
static |
Returns the static model of the specified AR class. Please note that you should have this exact method in all your CActiveRecord descendants!
- Parameters
-
string | $className | active record class name. |
- Returns
- Site the static model class
Definition at line 20 of file Sites.php.
- Returns
- array relational rules.
Definition at line 52 of file Sites.php.
- Returns
- array validation rules for model attributes.
Definition at line 36 of file Sites.php.
Retrieves a list of models based on the current search/filter conditions.
Typical usecase:
- Initialize the model fields with values from filter form.
- Execute this method to get CActiveDataProvider instance which will filter models according to data in model fields.
- Pass data provider to CGridView, CListView or any similar widget.
- Returns
- CActiveDataProvider the data provider that can return the models based on the search/filter conditions.
Definition at line 84 of file Sites.php.
- Returns
- string the associated database table name
Definition at line 28 of file Sites.php.
The documentation for this class was generated from the following file: