PHP Класс OEModule\OphCiExamination\models\Element_OphCiExamination_PostOpComplications

Наследование: extends SplitEventTypeElement
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$firm
$service
$subspecialty_id

Открытые методы

Метод Описание
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

Описание методов

afterSave() публичный Метод

public afterSave ( )

attributeLabels() публичный Метод

public attributeLabels ( ) : array
Результат array customized attribute labels (name=>label)

beforeDelete() публичный Метод

public beforeDelete ( )

beforeSave() публичный Метод

public beforeSave ( )

checkComplicationEyePanels() публичный Метод

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

getFullComplicationList() публичный Метод

public getFullComplicationList ( $eye_id )

getOperationNoteList() публичный Метод

Returns the Opertion notes belongs to a patient.
public getOperationNoteList ( ) : array
Результат array list of op notes

getRecordedComplications() публичный Метод

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
Результат array

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
Результат the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name

Описание свойств

$firm публичное свойство

public $firm

$service публичное свойство

public $service

$subspecialty_id публичное свойство

public $subspecialty_id