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

Public Member Functions

 tableName ()
 rules ()
 relations ()
 attributeLabels ()
 scopes ()
 widgetView ($model)
 widgetEdit ($model, $params=array())
 search ()

Static Public Member Functions

static model ($className=__CLASS__)
static itemAlias ($type, $code=null)

Public Attributes

const VISIBLE_ALL = 3
const VISIBLE_REGISTER_USER = 2
const VISIBLE_ONLY_OWNER = 1
const VISIBLE_NO = 0
const REQUIRED_NO = 0
const REQUIRED_YES_SHOW_REG = 1
const REQUIRED_NO_SHOW_REG = 2
const REQUIRED_YES_NOT_SHOW_REG = 3

Detailed Description

Definition at line 3 of file ProfileField.php.

Member Function Documentation

ProfileField::attributeLabels ( )
Returns
array customized attribute labels (name=>label)

Definition at line 86 of file ProfileField.php.

Here is the call graph for this function:

static ProfileField::itemAlias (   $type,
  $code = null 
)
static

Definition at line 188 of file ProfileField.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static ProfileField::model (   $className = __CLASS__)
static

Returns the static model of the specified AR class.

Returns
CActiveRecord the static model class

Definition at line 39 of file ProfileField.php.

Here is the caller graph for this function:

ProfileField::relations ( )
Returns
array relational rules.

Definition at line 75 of file ProfileField.php.

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

Definition at line 55 of file ProfileField.php.

Here is the call graph for this function:

ProfileField::scopes ( )

Definition at line 108 of file ProfileField.php.

ProfileField::search ( )

Retrieves a list of models based on the current search/filter conditions.

Returns
CActiveDataProvider the data provider that can return the models based on the search/filter conditions.

Definition at line 227 of file ProfileField.php.

ProfileField::tableName ( )
Returns
string the associated database table name

Definition at line 47 of file ProfileField.php.

ProfileField::widgetEdit (   $model,
  $params = array() 
)

Definition at line 163 of file ProfileField.php.

ProfileField::widgetView (   $model)
Parameters
$value
Returns
formated value (string)

Definition at line 138 of file ProfileField.php.

Member Data Documentation

const ProfileField::REQUIRED_NO = 0

Definition at line 10 of file ProfileField.php.

const ProfileField::REQUIRED_NO_SHOW_REG = 2

Definition at line 12 of file ProfileField.php.

const ProfileField::REQUIRED_YES_NOT_SHOW_REG = 3

Definition at line 13 of file ProfileField.php.

const ProfileField::REQUIRED_YES_SHOW_REG = 1

Definition at line 11 of file ProfileField.php.

const ProfileField::VISIBLE_ALL = 3

Definition at line 5 of file ProfileField.php.

const ProfileField::VISIBLE_NO = 0

Definition at line 8 of file ProfileField.php.

const ProfileField::VISIBLE_ONLY_OWNER = 1

Definition at line 7 of file ProfileField.php.

const ProfileField::VISIBLE_REGISTER_USER = 2

Definition at line 6 of file ProfileField.php.


The documentation for this class was generated from the following file: