PHP Class SecondaryToCommonOphthalmicDisorder

This model allows for the definition of "secondary to" options for disorders specified in CommonOphthalmicDisorder They should be provided as choices in disorder widgets that use the common disorder drop downs in diagnoses selection. The followings are the available columns in table 'common_ophthalmic_disorder':
Inheritance: extends BaseActiveRecordVersioned
ファイルを表示 Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
defaultScope ( )
getConditionLabel ( )
getDisorderOrFinding ( ) : Disorder | Finding
getType ( ) : string
model ( $className = __CLASS__ ) : SecondaryToCommonOphthalmicDisorder 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

Protected Methods

Method Description
afterValidate ( )

Method Details

afterValidate() protected method

protected afterValidate ( )

attributeLabels() public method

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

defaultScope() public method

public defaultScope ( )

getConditionLabel() public method

public getConditionLabel ( )

getDisorderOrFinding() public method

public getDisorderOrFinding ( ) : Disorder | Finding
return Disorder | Finding

getType() public method

public getType ( ) : string
return string

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : SecondaryToCommonOphthalmicDisorder
return SecondaryToCommonOphthalmicDisorder 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