PHP Class Referral

The followings are the available columns in table 'tbl_referral':
Inheritance: extends CActiveRecord
Show file Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$use_pas

Public Methods

Method Description
attributeLabels ( ) : array
getActiveRTT ( ) : RTT[] Get the active RTTs attached to this referral.
getDescription ( ) : string Returns string description of the referral.
model ( $className = __CLASS__ ) : Referral Returns the static model of the specified AR class.
noPas ( ) : Referral Suppress PAS integration.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Protected Methods

Method Description
instantiate ( $attributes ) Pass through use_pas flag to allow pas supression.

Method Details

attributeLabels() public method

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

getActiveRTT() public method

Get the active RTTs attached to this referral.
public getActiveRTT ( ) : RTT[]
return RTT[]

getDescription() public method

Returns string description of the referral.
public getDescription ( ) : string
return string

instantiate() protected method

Pass through use_pas flag to allow pas supression.
See also: CActiveRecord::instantiate()
protected instantiate ( $attributes )

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

noPas() public method

Suppress PAS integration.
public noPas ( ) : Referral
return Referral

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

Property Details

$use_pas public property

public $use_pas