PHP Class OphDrPrescription_Item

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

Méthodes publiques

Méthode Description
afterValidate ( )
attributeLabels ( ) : array
getDescription ( )
loadDefaults ( )
model ( $className = __CLASS__ ) : OphDrPrescription_Item Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
stopDateFromDuration ( ) : DateTime | null
tableName ( ) : string
validateRouteOption ( $attribute, $params )

Method Details

afterValidate() public méthode

public afterValidate ( )

attributeLabels() public méthode

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

getDescription() public méthode

public getDescription ( )

loadDefaults() public méthode

public loadDefaults ( )

model() public static méthode

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

stopDateFromDuration() public méthode

public stopDateFromDuration ( ) : DateTime | null
Résultat DateTime | null

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

validateRouteOption() public méthode

public validateRouteOption ( $attribute, $params )