PHP Class ReferralType

The followings are the available columns in table 'referral':
Inheritance: extends BaseActiveRecordVersioned
Show file Open project: openeyes/openeyes

Public Methods

Method Description
attributeLabels ( ) : array
getDescription ( ) : string Because referral types can be defined from external systems with unusual formatting we have an override for the description.
model ( $className = __CLASS__ ) : Referral Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

getDescription() public method

Because referral types can be defined from external systems with unusual formatting we have an override for the description.
public getDescription ( ) : string
return string

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Referral
return Referral the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name