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

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

Защищенные свойства (Protected)

Свойство Тип Описание
$_readings_by_method

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

Метод Описание
attributeLabels ( ) : array
canViewPrevious ( )
delete ( ) extends standard delete method to remove all the treatments.
getReading ( string $side, OphCiExamination_ColourVision_Method $method ) : OphCiExamination_ColourVision_Readin | null Get the colour vision reading for the given side and method if it's defined.
getUnusedReadingMethods ( string $side ) : OphCiExamination_ColourVision_Method[] Get the colour vision reading methods that have not been used for this element.
model ( $className = __CLASS__ ) : OEModule\OphCiExamination\models\Element_OphCiExamination_Dilation 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
updateReadings ( $side, array $readings ) Update the dilation treatments - depends on their only being one treatment of a particular drug on a given side.

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

Метод Описание
afterValidate ( ) Validate each of the readings.

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

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

Validate each of the readings.
protected afterValidate ( )

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

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

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

public canViewPrevious ( )

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

(non-PHPdoc)
См. также: CActiveRecord::delete()
public delete ( )

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

Get the colour vision reading for the given side and method if it's defined.
public getReading ( string $side, OphCiExamination_ColourVision_Method $method ) : OphCiExamination_ColourVision_Readin | null
$side string - left or right
$method OphCiExamination_ColourVision_Method
Результат OphCiExamination_ColourVision_Readin | null

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

Get the colour vision reading methods that have not been used for this element.
public getUnusedReadingMethods ( string $side ) : OphCiExamination_ColourVision_Method[]
$side string
Результат OphCiExamination_ColourVision_Method[]

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

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

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

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

Update the dilation treatments - depends on their only being one treatment of a particular drug on a given side.
public updateReadings ( $side, array $readings )
$side \Eye::LEFT or \Eye::RIGHT
$readings array

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

$_readings_by_method защищенное свойство

protected $_readings_by_method