PHP Class Drug

Inheritance: extends DbObject
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

behaviors() public méthode

public behaviors ( )

defaultScope() public méthode

public defaultScope ( )

getDefaults() public méthode

public getDefaults ( ) : array
Résultat array

getLabel() public méthode

public getLabel ( )

getTallmanLabel() public méthode

public getTallmanLabel ( )

listBySubspecialty() public méthode

public listBySubspecialty ( $subspecialty_id )

listBySubspecialtyWithCommonMedications() public méthode

public listBySubspecialtyWithCommonMedications ( $subspecialty_id ) : array
$subspecialty_id
Résultat array

model() public static méthode

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