Property | Type | Description | |
---|---|---|---|
$cvi_alert_dismissed | |||
$service |
Property | Type | Description | |
---|---|---|---|
$auto_update_relations | |||
$relation_defaults |
Method | Description | |
---|---|---|
attributeLabels ( ) : array | ||
canViewPrevious ( ) | ||
getAllReadings ( string $side ) : |
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 ) : |
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 |
Method | Description | |
---|---|---|
afterValidate ( ) | Perform dependent validation for readings and flags. |
protected afterValidate ( ) |
public attributeLabels ( ) : array | ||
return | array | customized attribute labels (name=>label) |
public getAllReadings ( string $side ) : |
||
$side | string | |
return |
public getBestReading ( string $side ) : |
||
$side | string | |
return |
public getBestReadingByMethods ( string $side, $methods ) | ||
$side | string |
public getLetter_string ( ) : string | ||
return | string |
public getMethodValues ( ) |
public getTextForSide ( $side ) : string | ||
$side | ||
return | string |
public static model ( $className = __CLASS__ ) : the | ||
return | the | static model class |
public search ( ) : CActiveDataProvider | ||
return | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |