PHP Класс MedicationController

(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 BaseAdminController
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$itemsPerPage integer
$layout string

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

Метод Описание
accessRules ( )
actionDelete ( )
actionDrugDefaults ( $drug_id )
actionDrugRouteOptions ( $route_id )
actionEdit ( boolean | integer $id = false ) Edits or adds medications.
actionFindDrug ( ) Searches across MedicationDrug and Drug models for the given term. If the term only matches on an alias, the alias will be included in the returned label for that entry.
actionForm ( integer $patientId, integer $medicationId = null, $prescriptionItemId = null )
actionList ( ) Lists medications.
actionSave ( )
actionStop ( )

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

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

public accessRules ( )

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

public actionDelete ( )

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

public actionDrugDefaults ( $drug_id )

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

public actionDrugRouteOptions ( $route_id )

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

Edits or adds medications.
public actionEdit ( boolean | integer $id = false )
$id boolean | integer

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

Distinguishes between the data types to ensure relationship defined correctly.
public actionFindDrug ( )

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

public actionForm ( integer $patientId, integer $medicationId = null, $prescriptionItemId = null )
$patientId integer
$medicationId integer

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

Lists medications.
public actionList ( )

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

public actionSave ( )

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

public actionStop ( )

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

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

public int $itemsPerPage
Результат integer

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

public string $layout
Результат string