PHP Class Measurement

Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
attach ( Episode | Event $entity, boolean $origin = false ) : MeasurementReference Attach this measurement to an Episode or Event
findAllForPatient ( Patient $patient )
getMeasurementType ( )
getPatientMeasurement ( )
getPatient_id ( )
setPatient_id ( $id )

Méthodes protégées

Méthode Description
afterValidate ( )
beforeSave ( )
instantiate ( array $attributes ) : CActiveRecord Override to allow us to have classes defined outside of core that store the data in a different way

Method Details

afterValidate() protected méthode

protected afterValidate ( )

attach() public méthode

Attach this measurement to an Episode or Event
public attach ( Episode | Event $entity, boolean $origin = false ) : MeasurementReference
$entity Episode | Event
$origin boolean
Résultat MeasurementReference

beforeSave() protected méthode

protected beforeSave ( )

findAllForPatient() public méthode

public findAllForPatient ( Patient $patient )
$patient Patient

getMeasurementType() public méthode

public getMeasurementType ( )

getPatientMeasurement() public méthode

getPatient_id() public méthode

public getPatient_id ( )

instantiate() protected méthode

Override to allow us to have classes defined outside of core that store the data in a different way
protected instantiate ( array $attributes ) : CActiveRecord
$attributes array
Résultat CActiveRecord

setPatient_id() public méthode

public setPatient_id ( $id )