PHP 클래스 PatientMergeRequestController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2012 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 BaseController
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$firm
$layout the default layout for the views

공개 메소드들

메소드 설명
accessRules ( )
actionCreate ( )
actionDelete ( )
actionIndex ( ) Lists all models.
actionLog ( integer $id ) Displays a particular model.
actionMerge ( integer $id ) Merging patients.
actionSearch ( )
actionUpdate ( integer $id ) Updates a particular model.
actionView ( integer $id ) Displays a particular model.
beforeAction ( $action )
getEpisodesHTML ( $patient )
init ( )
isPatientInRequestList ( integer $patientId ) : null | string Check if the paient id is already in the request list.
loadModel ( integer $id ) : PatientMergeRequest Returns the data model based on the primary key given in the GET variable.

메소드 상세

accessRules() 공개 메소드

public accessRules ( )

actionCreate() 공개 메소드

public actionCreate ( )

actionDelete() 공개 메소드

public actionDelete ( )

actionIndex() 공개 메소드

Lists all models.
public actionIndex ( )

actionLog() 공개 메소드

Displays a particular model.
public actionLog ( integer $id )
$id integer the ID of the model to be displayed

actionMerge() 공개 메소드

Merging patients.
public actionMerge ( integer $id )
$id integer the ID of the model to be displayed

actionSearch() 공개 메소드

public actionSearch ( )

actionUpdate() 공개 메소드

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id )
$id integer the ID of the model to be updated

actionView() 공개 메소드

Displays a particular model.
public actionView ( integer $id )
$id integer the ID of the model to be displayed

beforeAction() 공개 메소드

public beforeAction ( $action )

getEpisodesHTML() 공개 메소드

public getEpisodesHTML ( $patient )

init() 공개 메소드

public init ( )

isPatientInRequestList() 공개 메소드

Check if the paient id is already in the request list.
public isPatientInRequestList ( integer $patientId ) : null | string
$patientId integer
리턴 null | string 'primary' or 'secondary', this means, e.g.: patient id was submited for merge as secondary patient

loadModel() 공개 메소드

If the data model is not found, an HTTP exception will be raised.
public loadModel ( integer $id ) : PatientMergeRequest
$id integer the ID of the model to be loaded
리턴 PatientMergeRequest the loaded model

프로퍼티 상세

$firm 공개적으로 프로퍼티

public $firm

$layout 공개적으로 프로퍼티

the default layout for the views
public $layout