PHP Class Drug

Inheritance: extends DbObject
Mostrar archivo Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
behaviors ( )
defaultScope ( )
getDefaults ( ) : array
getLabel ( )
getTallmanLabel ( )
listBySubspecialty ( $subspecialty_id )
listBySubspecialtyWithCommonMedications ( $subspecialty_id ) : array
model ( $className = __CLASS__ ) : Drug Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

attributeLabels() public method

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

behaviors() public method

public behaviors ( )

defaultScope() public method

public defaultScope ( )

getDefaults() public method

public getDefaults ( ) : array
return array

getLabel() public method

public getLabel ( )

getTallmanLabel() public method

public getTallmanLabel ( )

listBySubspecialty() public method

public listBySubspecialty ( $subspecialty_id )

listBySubspecialtyWithCommonMedications() public method

public listBySubspecialtyWithCommonMedications ( $subspecialty_id ) : array
$subspecialty_id
return array

model() public static method

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