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
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

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