PHP Class OEModule\PatientTicketing\models\Ticket

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
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

Method Details

attributeLabels() public méthode

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

getDisplayQueue() public méthode

public getDisplayQueue ( )

getDisplayQueueAssignment() public méthode

getInfoData() public méthode

Get a data structure containing information about this ticket.
public getInfoData ( boolean $json = true ) : array | string
$json boolean
Résultat array | string

getNotes() public méthode

Convenience function to access ticket notes.
public getNotes ( ) : mixed
Résultat mixed

getPastQueueAssignments() public méthode

Get the past Queue Assignments for the ticket.
public getPastQueueAssignments ( ) : array
Résultat array

getReport() public méthode

Convenience function to accese ticket report field.
public getReport ( ) : mixed
Résultat mixed

getSourceLabel() public méthode

Get the text to describe the source of this ticket.
public getSourceLabel ( ) : string
Résultat string

getTicketFirm() public méthode

Gets the firm that was being used when this ticket was created.
public getTicketFirm ( ) : string
Résultat string

hasHistory() public méthode

Returns true if this ticket was previously in a different queue. False otherwise.
public hasHistory ( ) : boolean
Résultat boolean

is_complete() public méthode

Checks if the ticket is complete or not.
public is_complete ( ) : boolean
Résultat boolean

model() public static méthode

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

tableName() public méthode

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