PHP Class Element_OphTrOperationnote_Anaesthetic

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

Méthodes publiques

Свойство Type Description
$service
$surgeonlist
$witness_enabled

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
beforeDelete ( ) Need to delete associated records.

Method Details

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

beforeDelete() protected méthode

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

beforeValidate() public méthode

Validate the witness field if it's turned on.
public beforeValidate ( ) : boolean
Résultat boolean

getAnaestheticComplicationValues() public méthode

Get ids of anaesthetic complications in use by the element.

getHidden() public méthode

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

getSurgeons() public méthode

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

getWitness_hidden() public méthode

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

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Anaesthetic
Résultat Element_OphTrOperationnote_Anaesthetic the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

updateAnaestheticAgents() public méthode

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

updateComplications() public méthode

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

validateAnaesthetic() public méthode

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