PHP Class Element_OphTrOperationnote_Trabectome

The followings are the available columns in table 'et_ophtroperationnote_trabectome':
Inheritance: extends Element_OnDemand
Show file Open project: openeyes/openeyes

Public Properties

Property Type Description
$service

Public Methods

Method Description
attributeLabels ( ) : array
beforeDelete ( )
getComplicationIDs ( ) : array Get a list of the ids of the currently assigned complications on this element.
getComplicationsString ( $default = 'None' ) : string Returns comma separated list of complications on this procedure note.
hasOtherComplication ( ) : boolean Check if any of the complications on the element is an "other" complication (i.e. in need of further information).
model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Trabectome Returns the static model of the specified AR class.
relations ( ) : array
requiredIfComplicationOther ( $attribute, $params ) Ensures the attribute is provided when an 'other' complication is selected.
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string
updateComplications ( array $ids ) Update the complication assignments for this element.

Method Details

attributeLabels() public method

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

beforeDelete() public method

public beforeDelete ( )

getComplicationIDs() public method

Get a list of the ids of the currently assigned complications on this element.
public getComplicationIDs ( ) : array
return array

getComplicationsString() public method

Returns comma separated list of complications on this procedure note.
public getComplicationsString ( $default = 'None' ) : string
$default
return string

hasOtherComplication() public method

Check if any of the complications on the element is an "other" complication (i.e. in need of further information).
public hasOtherComplication ( ) : boolean
return boolean

model() public static method

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

relations() public method

public relations ( ) : array
return array relational rules.

requiredIfComplicationOther() public method

Ensures the attribute is provided when an 'other' complication is selected.
public requiredIfComplicationOther ( $attribute, $params )
$attribute
$params

rules() public method

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

tableName() public method

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

updateComplications() public method

Update the complication assignments for this element.
public updateComplications ( array $ids )
$ids array - OphTrOperationnote_Trabectome_Complication ids

Property Details

$service public property

public $service