PHP Class MedicationDrug

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

Public Methods

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

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array list of attribute labels

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

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