PHP Class CommonOphthalmicDisorder

The followings are the available columns in table 'common_ophthalmic_disorder':
Inheritance: extends BaseActiveRecordVersioned
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
defaultScope ( )
getDisorderOrFinding ( ) : Disorder | Finding
getList ( Firm $firm, boolean $include_findings = false ) : array Fetch options list of disorders (and optionally findings).
getListByGroupWithSecondaryTo ( Firm $firm ) : array Fetch array of disorders and associated secondary to disorders (and optionally findings).
getSecondaryToList ( ) : array Fetch array of secondary disorders/findings.
getSelectionLabel ( ) : string Label for use in dropdowns.
getType ( ) : string
model ( $className = __CLASS__ ) : CommonOphthalmicDisorder 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

Méthodes protégées

Méthode Description
afterValidate ( )

Method Details

afterValidate() protected méthode

protected afterValidate ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

defaultScope() public méthode

public defaultScope ( )

getDisorderOrFinding() public méthode

public getDisorderOrFinding ( ) : Disorder | Finding
Résultat Disorder | Finding

getList() public static méthode

Fetch options list of disorders (and optionally findings).
public static getList ( Firm $firm, boolean $include_findings = false ) : array
$firm Firm
$include_findings boolean
Résultat array

getListByGroupWithSecondaryTo() public static méthode

Fetch array of disorders and associated secondary to disorders (and optionally findings).
public static getListByGroupWithSecondaryTo ( Firm $firm ) : array
$firm Firm
Résultat array

getSecondaryToList() public méthode

Fetch array of secondary disorders/findings.
public getSecondaryToList ( ) : array
Résultat array

getSelectionLabel() public méthode

Label for use in dropdowns.
public getSelectionLabel ( ) : string
Résultat string

getType() public méthode

public getType ( ) : string
Résultat string

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : CommonOphthalmicDisorder
Résultat CommonOphthalmicDisorder the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name