PHP Class Element_OphTrLaser_Treatment

The followings are the available columns in table:
Inheritance: extends SplitEventTypeElement
Mostra file Open project: openeyes/openeyes

Public Properties

Property Type Description
$service

Public Methods

Method Description
attributeLabels ( ) : 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 ( ) Set default values for forms on create.
sidedFields ( ) (non-PHPdoc).
tableName ( ) : string
updateLeftProcedures ( $data ) * wrapper function to update the procedures for this treatment on the left eye
updateProcedures ( $proc_ids, $side ) * update procedure assignments to given procedure ids on the given side
updateRightProcedures ( $data ) * wrapper function to update the procedures for this treatment on the right eye

Protected Methods

Method Description
afterSave ( )
beforeSave ( )
beforeValidate ( )

Method Details

afterSave() protected method

protected afterSave ( )

attributeLabels() public method

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

beforeSave() protected method

protected beforeSave ( )

beforeValidate() protected method

protected beforeValidate ( )

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
return 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 ( )

sidedFields() public method

(non-PHPdoc).
See also: SplitEventTypeElement::sidedFields()
public sidedFields ( )

tableName() public method

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

updateLeftProcedures() public method

* wrapper function to update the procedures for this treatment on the left eye
public updateLeftProcedures ( $data )

updateProcedures() public method

* update procedure assignments to given procedure ids on the given side
public updateProcedures ( $proc_ids, $side )

updateRightProcedures() public method

* wrapper function to update the procedures for this treatment on the right eye
public updateRightProcedures ( $data )

Property Details

$service public_oe property

public $service