PHP 클래스 OEModule\PatientTicketing\controllers\AdminController

상속: extends ModuleAdminController
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$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