PHP 클래스 OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity

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

공개 프로퍼티들

프로퍼티 타입 설명
$cvi_alert_dismissed
$service

보호된 프로퍼티들

프로퍼티 타입 설명
$auto_update_relations
$relation_defaults

공개 메소드들

메소드 설명
attributeLabels ( ) : array
canViewPrevious ( )
getAllReadings ( string $side ) : OphCiExamination_VisualAcuity_Reading | null Get the best reading for the given side.
getBest ( string $side ) : string Get the best reading for the specified side in current units.
getBestReading ( string $side ) : OphCiExamination_VisualAcuity_Reading | null Get the best reading for the given side.
getBestReadingByMethods ( string $side, $methods ) Get the best reading based on the type
getCombined ( string $side, null $unit_id = null ) : string Get a combined string of the different readings. If a unit_id is given, the readings will be converted to unit type of that id.
getLetter_string ( ) : string returns the default letter string for the va readings. Converts all readings to Snellen Metre as this is assumed to be the standard for correspondence.
getMethodValues ( ) Get the list of currently used method ids.
getTextForSide ( $side ) : string Convenience function for generating string of why a reading wasn't recorded for a side.
getUnitValues ( integer $unit_id = null, boolean $selectable = true ) : array Array of unit values for dropdown.
getUnitValuesForForm ( integer | null $unit_id = null, boolean $is_near = false ) : array
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.
setDefaultOptions ( )
sidedFields ( )
tableName ( ) : string

보호된 메소드들

메소드 설명
afterValidate ( ) Perform dependent validation for readings and flags.

메소드 상세

afterValidate() 보호된 메소드

Perform dependent validation for readings and flags.
protected afterValidate ( )

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array customized attribute labels (name=>label)

canViewPrevious() 공개 메소드

public canViewPrevious ( )

getAllReadings() 공개 메소드

Get the best reading for the given side.
public getAllReadings ( string $side ) : OphCiExamination_VisualAcuity_Reading | null
$side string
리턴 OphCiExamination_VisualAcuity_Reading | null

getBest() 공개 메소드

Get the best reading for the specified side in current units.
public getBest ( string $side ) : string
$side string
리턴 string

getBestReading() 공개 메소드

Get the best reading for the given side.
public getBestReading ( string $side ) : OphCiExamination_VisualAcuity_Reading | null
$side string
리턴 OphCiExamination_VisualAcuity_Reading | null

getBestReadingByMethods() 공개 메소드

Get the best reading based on the type
public getBestReadingByMethods ( string $side, $methods )
$side string

getCombined() 공개 메소드

Get a combined string of the different readings. If a unit_id is given, the readings will be converted to unit type of that id.
public getCombined ( string $side, null $unit_id = null ) : string
$side string
$unit_id null
리턴 string

getLetter_string() 공개 메소드

returns the default letter string for the va readings. Converts all readings to Snellen Metre as this is assumed to be the standard for correspondence.
public getLetter_string ( ) : string
리턴 string

getMethodValues() 공개 메소드

Get the list of currently used method ids.
public getMethodValues ( )

getTextForSide() 공개 메소드

Convenience function for generating string of why a reading wasn't recorded for a side.
public getTextForSide ( $side ) : string
$side
리턴 string

getUnitValues() 공개 메소드

Array of unit values for dropdown.
public getUnitValues ( integer $unit_id = null, boolean $selectable = true ) : array
$unit_id integer
$selectable boolean - whether want selectable values or all unit values
리턴 array

getUnitValuesForForm() 공개 메소드

public getUnitValuesForForm ( integer | null $unit_id = null, boolean $is_near = false ) : array
$unit_id integer | null
$is_near boolean
리턴 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.

setDefaultOptions() 공개 메소드

public setDefaultOptions ( )

sidedFields() 공개 메소드

public sidedFields ( )

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name

프로퍼티 상세

$auto_update_relations 보호되어 있는 프로퍼티

protected $auto_update_relations

$cvi_alert_dismissed 공개적으로 프로퍼티

public $cvi_alert_dismissed

$relation_defaults 보호되어 있는 프로퍼티

protected $relation_defaults

$service 공개적으로 프로퍼티

public $service