PHP Класс WaitingListController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Автор: OpenEyes ([email protected])
Наследование: extends BaseModuleController
Показать файл Открыть проект

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

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

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

Метод Описание
accessRules ( )
actionConfirmPrinted ( ) Set operations printed letter state.
actionFilterFirms ( ) Generates a firm list based on a subspecialty id provided via POST echoes form option tags for display.
actionFilterSetFirm ( ) Ajax action to set the firm filter.
actionFilterSetHosNum ( ) Ajax action to set the hosnum filter.
actionFilterSetSiteId ( ) Ajax action to the site id filter.
actionFilterSetStatus ( ) Ajax action to set the status filter.
actionIndex ( ) Lists all models.
actionPrintLetters ( ) Prints next pending letter type for requested operations Operation IDs are passed as an array (operations[]) via GET or POST Invalid operation IDs are ignored.
actionSearch ( ) Carry out a search on the waiting list.
getWaitingList ( $firm_id, $subspecialty_id, $status, boolean $hos_num = false, boolean $site_id = false ) : Element_OphTrOperationbooking_Operation[] Get the operations for the waiting list criteria provided.
printActions ( ) : array
setFilter ( $field, $value ) Store the filter item in the user session.

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

Метод Описание
getFilteredFirms ( integer $subspecialtyId ) : array Helper method to fetch firms by subspecialty ID.
getFromAddress ( Element_OphTrOperationbooking_Operation $operation ) : string Get letter from address for letter.
printLetter ( Element_OphTrOperationbooking_Operation $operation, boolean $auto_confirm = false ) Print the next letter for an operation.
print_gp_letter ( Element_OphTrOperationbooking_Operation $operation )
print_invitation_letter ( Element_OphTrOperationbooking_Operation $operation )
print_reminder_letter ( Element_OphTrOperationbooking_Operation $operation )

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

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

public accessRules ( )

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

Set operations printed letter state.

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

Generates a firm list based on a subspecialty id provided via POST echoes form option tags for display.
public actionFilterFirms ( )

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

Ajax action to set the firm filter.
public actionFilterSetFirm ( )

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

Ajax action to set the hosnum filter.

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

Ajax action to the site id filter.

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

Ajax action to set the status filter.

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

Lists all models.
public actionIndex ( )

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

Prints next pending letter type for requested operations Operation IDs are passed as an array (operations[]) via GET or POST Invalid operation IDs are ignored.
public actionPrintLetters ( )

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

Carry out a search on the waiting list.
public actionSearch ( )

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

Helper method to fetch firms by subspecialty ID.
protected getFilteredFirms ( integer $subspecialtyId ) : array
$subspecialtyId integer
Результат array

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

Get letter from address for letter.
protected getFromAddress ( Element_OphTrOperationbooking_Operation $operation ) : string
$operation Element_OphTrOperationbooking_Operation
Результат string

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

Get the operations for the waiting list criteria provided.
public getWaitingList ( $firm_id, $subspecialty_id, $status, boolean $hos_num = false, boolean $site_id = false ) : Element_OphTrOperationbooking_Operation[]
$firm_id
$subspecialty_id
$status
$hos_num boolean
$site_id boolean
Результат Element_OphTrOperationbooking_Operation[]

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

См. также: parent::printActions()
public printActions ( ) : array
Результат array (non-phpdoc)

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

Print the next letter for an operation.
protected printLetter ( Element_OphTrOperationbooking_Operation $operation, boolean $auto_confirm = false )
$operation Element_OphTrOperationbooking_Operation
$auto_confirm boolean

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

protected print_gp_letter ( Element_OphTrOperationbooking_Operation $operation )
$operation Element_OphTrOperationbooking_Operation

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

protected print_invitation_letter ( Element_OphTrOperationbooking_Operation $operation )
$operation Element_OphTrOperationbooking_Operation

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

protected print_reminder_letter ( Element_OphTrOperationbooking_Operation $operation )
$operation Element_OphTrOperationbooking_Operation

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

Store the filter item in the user session.
public setFilter ( $field, $value )
$field
$value

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

$renderPatientPanel публичное свойство

public $renderPatientPanel