HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
Sites Class Reference

Public Member Functions

 tableName ()
 rules ()
 relations ()
 attributeLabels ()
 search ()

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$classNameactive record class name.
Returns
Site the static model class

Definition at line 20 of file Sites.php.

Sites::relations ( )
Returns
array relational rules.

Definition at line 52 of file Sites.php.

Sites::rules ( )
Returns
array validation rules for model attributes.

Definition at line 36 of file Sites.php.

Sites::search ( )

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.

Sites::tableName ( )
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: