PHP Class OEModule\OphCoCvi\models\Element_OphCoCvi_ClericalInfo

The followings are the available columns in table:
Inheritance: extends BaseEventTypeElement
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
generateStructuredContactUrgency ( ) : array To generate the contact urgency array for the pdf
generateStructuredEmploymentStatus ( ) : array To generate the employement status array for the pdf
getPatientFactorAnswer ( OphCoCvi_ClericalInfo_PatientFactor $factor ) : OphCoCvi_ClericalInfo_PatientFactor_Answer | null
getStructuredDataForPrint ( ) Returns an associative array of the data values for printing
model ( null | string $className = __CLASS__ ) : the Returns the static model of the specified AR class.
patientFactorList ( $element_id ) : array Retrieves a list of patient factor
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string
updatePatientFactorAnswers ( $data )

Méthodes protégées

Méthode Description
generateStructuredPatientFactors ( ) : array

Private Methods

Méthode Description
updateAnswer ( $answer, $data )

Method Details

attributeLabels() public méthode

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

generateStructuredContactUrgency() public méthode

To generate the contact urgency array for the pdf

generateStructuredEmploymentStatus() public méthode

To generate the employement status array for the pdf

generateStructuredPatientFactors() protected méthode

protected generateStructuredPatientFactors ( ) : array
Résultat array

getPatientFactorAnswer() public méthode

public getPatientFactorAnswer ( OphCoCvi_ClericalInfo_PatientFactor $factor ) : OphCoCvi_ClericalInfo_PatientFactor_Answer | null
$factor OphCoCvi_ClericalInfo_PatientFactor
Résultat OphCoCvi_ClericalInfo_PatientFactor_Answer | null

getStructuredDataForPrint() public méthode

Returns an associative array of the data values for printing

model() public static méthode

Returns the static model of the specified AR class.
public static model ( null | string $className = __CLASS__ ) : the
$className null | string
Résultat the static model class

patientFactorList() public méthode

Retrieves a list of patient factor
public patientFactorList ( $element_id ) : array
$element_id
Résultat array

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

updatePatientFactorAnswers() public méthode

public updatePatientFactorAnswers ( $data )
$data