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

The followings are the available columns in table:
Наследование: extends BaseEventTypeElement
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
afterValidate ( ) Ensure a principal diagnosis is set for the episode.
attributeLabels ( ) : array
getCommonOphthalmicDisorders ( integer $firm_id ) : array Gets the common ophthalmic disorders for the given firm.
getEyeForDisorder ( $disorder_id, $disorder_ids )
getLetter_string ( )
getPrint_view ( )
getSelectedDisorderIDs ( ) : int[] Returns the disorder ids for the element diagnoses.
model ( string $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
updateDiagnoses ( $update_disorders ) Update the diagnoses for this element using a hash structure of [{ 'disorder_id' => integer, 'eye_id' => \Eye::LEFT|\Eye::RIGHT|\Eye::BOTH, 'principal' => boolean }, .

Защищенные методы

Метод Описание
beforeDelete ( ) : boolean Delete the related diagnoses for this element.

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

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

Ensure a principal diagnosis is set for the episode.
public afterValidate ( )

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

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

beforeDelete() защищенный Метод

Delete the related diagnoses for this element.
protected beforeDelete ( ) : boolean
Результат boolean

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

Gets the common ophthalmic disorders for the given firm.
public getCommonOphthalmicDisorders ( integer $firm_id ) : array
$firm_id integer
Результат array

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

public getEyeForDisorder ( $disorder_id, $disorder_ids )

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

public getLetter_string ( )

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

public getPrint_view ( )

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

Returns the disorder ids for the element diagnoses.
public getSelectedDisorderIDs ( ) : int[]
Результат int[]

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

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : the
$className string
Результат 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

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

.. ].
public updateDiagnoses ( $update_disorders )
$update_disorders