PHP Class Subspecialty

The followings are the available columns in table 'subspecialty':
Inheritance: extends BaseActiveRecordVersioned
Exibir arquivo Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
findAllByCurrentSpecialty ( )
getList ( boolean $nonmedical = false ) : array Fetch an array of subspecialty IDs and names, by default does not return non medical subspecialties (as defined by parent specialty).
getTreeName ( )
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)

findAllByCurrentSpecialty() public method

getList() public method

Fetch an array of subspecialty IDs and names, by default does not return non medical subspecialties (as defined by parent specialty).
public getList ( boolean $nonmedical = false ) : array
$nonmedical boolean
return array

getTreeName() public method

public getTreeName ( )

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