PHP Class PatientAllergyAssignment

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

Méthodes publiques

Méthode Description
allergyList ( $patient_id ) List of allergies.
attributeLabels ( ) : array
getName ( ) : string
model ( $className = __CLASS__ ) : PatientAllergyAssignment 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.
tableName ( ) : string

Method Details

allergyList() public méthode

List of allergies.
public allergyList ( $patient_id )

attributeLabels() public méthode

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

getName() public méthode

public getName ( ) : string
Résultat string

model() public static méthode

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

tableName() public méthode

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