PHP Class OEModule\OphCiExamination\models\Element_OphCiExamination_PostOpComplications

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

Méthodes publiques

Свойство Type Description
$firm
$service
$subspecialty_id

Méthodes publiques

Méthode Description
afterSave ( )
attributeLabels ( ) : array
beforeDelete ( )
beforeSave ( )
checkComplicationEyePanels ( type $attribute, type $params ) Validation rule to assign complication to both eyes.
getFullComplicationList ( $eye_id )
getOperationNoteList ( ) : array Returns the Opertion notes belongs to a patient.
getRecordedComplications ( integer $eye_id, integer $operation_note_id = null ) : array Returns recorded complications based on eye and operation note id.
model ( $className = __CLASS__ ) : the 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

afterSave() public méthode

public afterSave ( )

attributeLabels() public méthode

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

beforeDelete() public méthode

public beforeDelete ( )

beforeSave() public méthode

public beforeSave ( )

checkComplicationEyePanels() public méthode

Validation rule to assign complication to both eyes.
public checkComplicationEyePanels ( type $attribute, type $params )
$attribute type
$params type

getFullComplicationList() public méthode

public getFullComplicationList ( $eye_id )

getOperationNoteList() public méthode

Returns the Opertion notes belongs to a patient.
public getOperationNoteList ( ) : array
Résultat array list of op notes

getRecordedComplications() public méthode

if no recorded complications are found and there are complication in the POST (user wants to save but the site redirect with form error) we get the complications from the POST and display so the user does not have to select it again
public getRecordedComplications ( integer $eye_id, integer $operation_note_id = null ) : array
$eye_id integer
$operation_note_id integer
Résultat array

model() public static méthode

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

Property Details

$firm public_oe property

public $firm

$service public_oe property

public $service

$subspecialty_id public_oe property

public $subspecialty_id