PHP Класс PrescriptionCommonController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2015 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 DefaultController
Показать файл Открыть проект

Защищенные свойства (Protected)

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

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

Метод Описание
actionItemForm ( $key, $patient_id, $drug_id ) Ajax action to get the form for single drug.
actionItemFormAdmin ( $key, $drug_id ) Ajax action to get the form for single drug on admin page (we don't have patient_id there).
actionSetForm ( $key, $patient_id, $set_id ) Ajax action to get prescription forms for a drug set.
actionSetFormAdmin ( $key, $set_id ) Ajax function to get drug set for admin page (we do not have patient_id there), and we also load the name and subspecialty here.

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

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

Ajax action to get the form for single drug.
public actionItemForm ( $key, $patient_id, $drug_id )
$key
$patient_id
$drug_id

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

Ajax action to get the form for single drug on admin page (we don't have patient_id there).
public actionItemFormAdmin ( $key, $drug_id )
$key
$drug_id

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

Ajax action to get prescription forms for a drug set.
public actionSetForm ( $key, $patient_id, $set_id )
$key
$patient_id
$set_id

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

Ajax function to get drug set for admin page (we do not have patient_id there), and we also load the name and subspecialty here.
public actionSetFormAdmin ( $key, $set_id )
$key
$set_id

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

$action_types защищенное статическое свойство

protected static $action_types