PHP Класс Element_OphTrOperationnote_Anaesthetic

The followings are the available columns in table 'et_ophtroperationnote_anaesthetic':
Наследование: extends Element_OpNote
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$service
$surgeonlist
$witness_enabled

Открытые методы

Метод Описание
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 )

Защищенные методы

Метод Описание
beforeDelete ( ) Need to delete associated records.

Описание методов

attributeLabels() публичный Метод

public attributeLabels ( ) : array
Результат array customized attribute labels (name=>label)

beforeDelete() защищенный Метод

Need to delete associated records.
См. также: CActiveRecord::beforeDelete()
protected beforeDelete ( )

beforeValidate() публичный Метод

Validate the witness field if it's turned on.
public beforeValidate ( ) : boolean
Результат boolean

getAnaestheticComplicationValues() публичный Метод

Get ids of anaesthetic complications in use by the element.

getHidden() публичный Метод

Should not display other anaesthetic details if the anaesthetic type is general.
public getHidden ( ) : boolean
Результат boolean

getSurgeons() публичный Метод

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

getWitness_hidden() публичный Метод

Don't need a witness for anaesthetic unless it is administered by a nurse.
public getWitness_hidden ( ) : boolean
Результат boolean

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Anaesthetic
Результат Element_OphTrOperationnote_Anaesthetic the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name

updateAnaestheticAgents() публичный Метод

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

updateComplications() публичный Метод

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

validateAnaesthetic() публичный Метод

public validateAnaesthetic ( $attribute, $params )

Описание свойств

$service публичное свойство

public $service

$surgeonlist публичное свойство

public $surgeonlist

$witness_enabled публичное свойство

public $witness_enabled