PHP Class Element_OphTrOperationnote_Cataract

The followings are the available columns in table 'et_ophtroperationnote_cataract':
Inheritance: extends Element_OnDemand
显示文件 Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$predicted_refraction
$service

Public Methods

Method Description
attributeLabels ( ) : array
beforeValidate ( ) : boolean Validate IOL data if IOL is part of the element.
getCataractComplicationValues ( ) Get ids of cataract complications associated with the element.
getEye ( ) : Eye The eye of the procedure is stored in the parent procedure list element.
getIol_hidden ( ) : boolean Check the eye draw for any IOL elements. If there is one, IOL fields should not be hidden.
model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Cataract 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 ( ) Set default values for forms on create.
tableName ( ) : string
updateComplications ( $complication_ids ) Update the complications on the element.
updateOperativeDevices ( $operative_device_ids ) Update the operative devices on the element.
validateComplications ( ) Validate complications.
validateIolPower ( )

Protected Methods

Method Description
afterConstruct ( )
beforeDelete ( ) Need to delete associated records.

Method Details

afterConstruct() protected method

protected afterConstruct ( )

attributeLabels() public method

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

beforeDelete() protected method

Need to delete associated records.
See also: CActiveRecord::beforeDelete()
protected beforeDelete ( )

beforeValidate() public method

Validate IOL data if IOL is part of the element.
public beforeValidate ( ) : boolean
return boolean

getCataractComplicationValues() public method

Get ids of cataract complications associated with the element.

getEye() public method

The eye of the procedure is stored in the parent procedure list element.
public getEye ( ) : Eye
return Eye

getIol_hidden() public method

Check the eye draw for any IOL elements. If there is one, IOL fields should not be hidden.
public getIol_hidden ( ) : boolean
return boolean

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Cataract
return Element_OphTrOperationnote_Cataract the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

setDefaultOptions() public method

Set default values for forms on create.
public setDefaultOptions ( )

tableName() public method

public tableName ( ) : string
return string the associated database table name

updateComplications() public method

Update the complications on the element.
public updateComplications ( $complication_ids )
$complication_ids

updateOperativeDevices() public method

Update the operative devices on the element.
public updateOperativeDevices ( $operative_device_ids )
$operative_device_ids

validateComplications() public method

Validate complications.

validateIolPower() public method

public validateIolPower ( )

Property Details

$predicted_refraction public_oe property

public $predicted_refraction

$service public_oe property

public $service