PHP Class MedicationDrug

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

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
model ( $className = __CLASS__ ) : Drug Returns the static model of the specified AR class.
rules ( ) : array
tableName ( ) : string

Method Details

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array list of attribute labels

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

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