PHP 클래스 OEModule\OphCiExamination\models\Element_OphCiExamination_ColourVision

The followings are the available columns in table:
상속: extends SplitEventTypeElement
파일 보기 프로젝트 열기: openeyes/openeyes

보호된 프로퍼티들

프로퍼티 타입 설명
$_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