PHP Класс OphTrOperationbooking_Operation_Booking

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

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

Метод Описание
attributeLabels ( ) : array
audit ( $target, $action, $data = null, $log = false, $properties = [] )
cancel ( $reason, $cancellation_comment, $reschedule = false )
getCancellationReasonWithComment ( )
getProcedureCount ( ) : integer Pass through convenience function.
getWarningHTML ( $type )
lessThanSessionEndTimeValidate ( ) check if admission time is less than session_end_time.
model ( $className = __CLASS__ ) : the 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.
showWarning ( $type )
tableName ( ) : string

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

Метод Описание
afterSave ( )
afterValidate ( )
beforeValidate ( ) : boolean Ensure display_order is set.
calculateDefaultDisplayOrder ( ) : integer calculate the appropriate default displayorder for this record.

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

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

protected afterSave ( )

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

protected afterValidate ( )

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

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

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

public audit ( $target, $action, $data = null, $log = false, $properties = [] )

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

Ensure display_order is set.
protected beforeValidate ( ) : boolean
Результат boolean

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

calculate the appropriate default displayorder for this record.
protected calculateDefaultDisplayOrder ( ) : integer
Результат integer

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

public cancel ( $reason, $cancellation_comment, $reschedule = false )

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

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

Pass through convenience function.
public getProcedureCount ( ) : integer
Результат integer

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

public getWarningHTML ( $type )

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

check if admission time is less than session_end_time.

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

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

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

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

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

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

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

public showWarning ( $type )

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

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