PHP Класс Procedure

Наследование: extends DataObjectBase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$auto_update_relations

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

Метод Описание
__get ( string $prop ) : mixed | null
__isset ( string $prop ) : boolean
attributeLabels ( ) : array
behaviors ( )
getList ( string $term, string $restrict = null ) : array Get a list of procedures.
getListBySubspecialty ( $subspecialtyId, boolean $restrict = false ) : array
getProceduresByOpNote ( $opNoteElementId ) : array
model ( $className = __CLASS__ ) : Procedure 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
validateOpNotes ( $attribute, $params )

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

Метод Описание
addOpNoteElementRelation ( )
afterConstruct ( ) Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
afterFind ( ) Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
get_has_benefits ( ) : boolean
get_has_complications ( ) : boolean

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

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

public __get ( string $prop ) : mixed | null
$prop string
Результат mixed | null

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

public __isset ( string $prop ) : boolean
$prop string
Результат boolean

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

protected addOpNoteElementRelation ( )

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

Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
protected afterConstruct ( )

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

Add relation to OphTrOperationnote_ProcedureListOperationElement if it exists.
protected afterFind ( )

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

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

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

public behaviors ( )

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

Get a list of procedures.
public static getList ( string $term, string $restrict = null ) : array
$term string term to search by
$restrict string Set to 'booked' or 'unbooked' to restrict results to procedures of that type
Результат array

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

public getListBySubspecialty ( $subspecialtyId, boolean $restrict = false ) : array
$subspecialtyId
$restrict boolean
Результат array

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

public getProceduresByOpNote ( $opNoteElementId ) : array
$opNoteElementId
Результат array

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

protected get_has_benefits ( ) : boolean
Результат boolean

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

protected get_has_complications ( ) : boolean
Результат boolean

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

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Procedure
Результат Procedure 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

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

public validateOpNotes ( $attribute, $params )

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

$auto_update_relations защищенное свойство

protected $auto_update_relations