PHP Class DrugRoute

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

Public Methods

Method Description
behaviors ( )
getOptions ( integer $id = null ) : DrugRouteOption[] Get active options for this route.
rules ( ) : array
tableName ( ) : string

Method Details

behaviors() public method

public behaviors ( )

getOptions() public method

Get active options for this route.
public getOptions ( integer $id = null ) : DrugRouteOption[]
$id integer Also retrieve the option matching this id if passed
return DrugRouteOption[]

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