PHP Class Element_OphTrOperationnote_Anaesthetic

The followings are the available columns in table 'et_ophtroperationnote_anaesthetic':
Inheritance: extends Element_OpNote
Exibir arquivo Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$service
$surgeonlist
$witness_enabled

Public Methods

Method Description
attributeLabels ( ) : array
beforeValidate ( ) : boolean Validate the witness field if it's turned on.
getAnaestheticComplicationValues ( ) Get ids of anaesthetic complications in use by the element.
getHidden ( ) : boolean Should not display other anaesthetic details if the anaesthetic type is general.
getSurgeons ( ) TODO: This should use the standard surgeons method
getWitness_hidden ( ) : boolean Don't need a witness for anaesthetic unless it is administered by a nurse.
model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Anaesthetic 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.
tableName ( ) : string
updateAnaestheticAgents ( $agent_ids ) Update the Anaesthetic Agents associated with the element.
updateComplications ( int[] $complication_ids ) Update the complications assigned to this element.
validateAnaesthetic ( $attribute, $params )

Protected Methods

Method Description
beforeDelete ( ) Need to delete associated records.

Method Details

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 the witness field if it's turned on.
public beforeValidate ( ) : boolean
return boolean

getAnaestheticComplicationValues() public method

Get ids of anaesthetic complications in use by the element.

getHidden() public method

Should not display other anaesthetic details if the anaesthetic type is general.
public getHidden ( ) : boolean
return boolean

getSurgeons() public method

TODO: This should use the standard surgeons method
public getSurgeons ( )

getWitness_hidden() public method

Don't need a witness for anaesthetic unless it is administered by a nurse.
public getWitness_hidden ( ) : boolean
return boolean

model() public static method

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

tableName() public method

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

updateAnaestheticAgents() public method

Update the Anaesthetic Agents associated with the element.
public updateAnaestheticAgents ( $agent_ids )
$agent_ids

updateComplications() public method

Update the complications assigned to this element.
public updateComplications ( int[] $complication_ids )
$complication_ids int[]

validateAnaesthetic() public method

public validateAnaesthetic ( $attribute, $params )

Property Details

$service public_oe property

public $service

$surgeonlist public_oe property

public $surgeonlist

$witness_enabled public_oe property

public $witness_enabled