PHP Класс OEModule\PatientTicketing\services\PatientTicketing_QueueService

Наследование: extends Services\ModelService
Показать файл Открыть проект

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

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

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

Метод Описание
canDeleteQueue ( $queue_id ) : boolean Check if the given Queue can be deleted (has no tickets assigned and no dependent queues with tickets).
delete ( $queue_id ) Delete the queue and the queues that are are solely dependent on it.
getCurrentTicketCount ( $queue_id ) : mixed Wrapper to get the current ticket count for the Queue.
getDependentQueues ( PatientTicketing_Queue $qr, $include_closing = true ) : Queue[] Get the dependent queues for given Queue resource.
getRootQueue ( $queue_id )
modelToResource ( OEModule\PatientTicketing\models\Queue $queue ) : resource Pass through wrapper to generate Queue Resource.
search ( array $params )

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

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

Check if the given Queue can be deleted (has no tickets assigned and no dependent queues with tickets).
public canDeleteQueue ( $queue_id ) : boolean
$queue_id
Результат boolean

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

Delete the queue and the queues that are are solely dependent on it.
public delete ( $queue_id )
$queue_id

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

Wrapper to get the current ticket count for the Queue.
public getCurrentTicketCount ( $queue_id ) : mixed
$queue_id
Результат mixed

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

Get the dependent queues for given Queue resource.
public getDependentQueues ( PatientTicketing_Queue $qr, $include_closing = true ) : Queue[]
$qr PatientTicketing_Queue losing
Результат OEModule\PatientTicketing\models\Queue[]

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

public getRootQueue ( $queue_id )

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

Pass through wrapper to generate Queue Resource.
public modelToResource ( OEModule\PatientTicketing\models\Queue $queue ) : resource
$queue OEModule\PatientTicketing\models\Queue
Результат resource

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

$operations защищенное статическое свойство

protected static $operations

$primary_model защищенное статическое свойство

protected static $primary_model