PHP Класс OEModule\PatientTicketing\controllers\AdminController

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

Открытые свойства

Свойство Тип Описание
$QUEUESET_SERVICE
$QUEUE_SERVICE
$TICKET_SERVICE

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

Метод Описание
actionActivateQueue ( ) Marks the given Queue as active.
actionAddQueue ( null $parent_id = null ) Create a new Queue with the optional given parent.
actionAddQueueSet ( ) Create a new QueueSet along with its initial queue (cannot have a queue set without an initial queue).
actionClinicLocations ( )
actionDeactivateQueue ( ) Marks the given Queue inactive.
actionDeleteQueue ( ) Will only successfully delete a Queue if no ticket has ever been assigned to it, otherwise will throw an exception. Should only have been called when the values return by actionGetQueueTicketCount are zero.
actionGetQueueTicketStatus ( $id ) Retrieve the count of ticket assignments for the given Queue and whether it can be deleted.
actionIndex ( ) Render the main admin screen.
actionLoadQueueNav ( $id ) Generates an HTML list layout of the given Queue and its Outcome Queues.
actionQueueSetCategories ( )
actionQueueSetPermissions ( $id ) interface for setting the user permissions for a queueset.
actionTicketAssignOutcomes ( )
actionUpdateQueue ( $id ) Update the given Queue.
actionUpdateQueueSet ( $id ) Update the Queue Set specified by the id.
filters ( ) : array Define the actions limited to POST requests.

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

Метод Описание
beforeAction ( $action )
deactivateQueue ( $queue, boolean $cascade = true ) Deactivate a Queue, and if $cascade is true, then deactivate it's children.
saveQueue ( $queue, null $parent = null ) Performs the update/create process on a Queue.

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

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

Marks the given Queue as active.
public actionActivateQueue ( )

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

Create a new Queue with the optional given parent.
public actionAddQueue ( null $parent_id = null )
$parent_id null

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

Create a new QueueSet along with its initial queue (cannot have a queue set without an initial queue).
public actionAddQueueSet ( )

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

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

Marks the given Queue inactive.

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

Will only successfully delete a Queue if no ticket has ever been assigned to it, otherwise will throw an exception. Should only have been called when the values return by actionGetQueueTicketCount are zero.
public actionDeleteQueue ( )

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

Retrieve the count of ticket assignments for the given Queue and whether it can be deleted.
public actionGetQueueTicketStatus ( $id )
$id

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

Render the main admin screen.
public actionIndex ( )

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

Generates an HTML list layout of the given Queue and its Outcome Queues.
public actionLoadQueueNav ( $id )
$id

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

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

interface for setting the user permissions for a queueset.
public actionQueueSetPermissions ( $id )
$id

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

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

Update the given Queue.
public actionUpdateQueue ( $id )
$id

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

Update the Queue Set specified by the id.
public actionUpdateQueueSet ( $id )
$id

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

protected beforeAction ( $action )

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

Deactivate a Queue, and if $cascade is true, then deactivate it's children.
protected deactivateQueue ( $queue, boolean $cascade = true )
$queue
$cascade boolean

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

Define the actions limited to POST requests.
public filters ( ) : array
Результат array

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

Performs the update/create process on a Queue.
protected saveQueue ( $queue, null $parent = null )
$queue
$parent null

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

$QUEUESET_SERVICE публичное статическое свойство

public static $QUEUESET_SERVICE

$QUEUE_SERVICE публичное статическое свойство

public static $QUEUE_SERVICE

$TICKET_SERVICE публичное статическое свойство

public static $TICKET_SERVICE