PHP Class OphTrOperationbooking_Operation_Booking

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

Méthodes publiques

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

Méthodes protégées

Méthode Description
afterSave ( )
afterValidate ( )
beforeValidate ( ) : boolean Ensure display_order is set.
calculateDefaultDisplayOrder ( ) : integer calculate the appropriate default displayorder for this record.

Method Details

afterSave() protected méthode

protected afterSave ( )

afterValidate() protected méthode

protected afterValidate ( )

attributeLabels() public méthode

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

audit() public méthode

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

beforeValidate() protected méthode

Ensure display_order is set.
protected beforeValidate ( ) : boolean
Résultat boolean

calculateDefaultDisplayOrder() protected méthode

calculate the appropriate default displayorder for this record.
protected calculateDefaultDisplayOrder ( ) : integer
Résultat integer

cancel() public méthode

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

getCancellationReasonWithComment() public méthode

getProcedureCount() public méthode

Pass through convenience function.
public getProcedureCount ( ) : integer
Résultat integer

getWarningHTML() public méthode

public getWarningHTML ( $type )

lessThanSessionEndTimeValidate() public méthode

check if admission time is less than session_end_time.

model() public static méthode

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

showWarning() public méthode

public showWarning ( $type )

tableName() public méthode

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