PHP Класс OEModule\PatientTicketing\models\Ticket

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

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

Метод Описание
attributeLabels ( ) : array
getDisplayQueue ( )
getDisplayQueueAssignment ( )
getInfoData ( boolean $json = true ) : array | string Get a data structure containing information about this ticket.
getNotes ( ) : mixed Convenience function to access ticket notes.
getPastQueueAssignments ( ) : array Get the past Queue Assignments for the ticket.
getReport ( ) : mixed Convenience function to accese ticket report field.
getSourceLabel ( ) : string Get the text to describe the source of this ticket.
getSourceLink ( ) : mixed Get the URL to link to the source of the ticket.
getTicketFirm ( ) : string Gets the firm that was being used when this ticket was created.
hasHistory ( ) : boolean Returns true if this ticket was previously in a different queue. False otherwise.
is_complete ( ) : boolean Checks if the ticket is complete or not.
model ( $className = __CLASS__ ) : Ticket 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

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

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

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

getDisplayQueue() публичный метод

public getDisplayQueue ( )

getDisplayQueueAssignment() публичный метод

getInfoData() публичный метод

Get a data structure containing information about this ticket.
public getInfoData ( boolean $json = true ) : array | string
$json boolean
Результат array | string

getNotes() публичный метод

Convenience function to access ticket notes.
public getNotes ( ) : mixed
Результат mixed

getPastQueueAssignments() публичный метод

Get the past Queue Assignments for the ticket.
public getPastQueueAssignments ( ) : array
Результат array

getReport() публичный метод

Convenience function to accese ticket report field.
public getReport ( ) : mixed
Результат mixed

getSourceLabel() публичный метод

Get the text to describe the source of this ticket.
public getSourceLabel ( ) : string
Результат string

getTicketFirm() публичный метод

Gets the firm that was being used when this ticket was created.
public getTicketFirm ( ) : string
Результат string

hasHistory() публичный метод

Returns true if this ticket was previously in a different queue. False otherwise.
public hasHistory ( ) : boolean
Результат boolean

is_complete() публичный метод

Checks if the ticket is complete or not.
public is_complete ( ) : boolean
Результат boolean

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

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