PHP Класс SecondaryToImport
(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
(C) OpenEyes Foundation, 2011-2014
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
.
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Защищенные свойства (Protected)
Открытые методы
Защищенные методы
Метод |
Описание |
|
getCOD ( $disorder_id, $subspecialty ) |
If script is set up to define the COD it will create one if it can't be found. |
|
getDisorder ( $id ) : Disorder | null |
Cache wrapper for searching for and retrieving disorder by id. |
|
getSubspecialty ( $code ) : Subspecialty | null |
Cache wrapper for searching and retrieving subspecialty by ref spec code. |
|
Описание методов
getCOD()
защищенный Метод
If script is set up to define the COD it will create one if it can't be found.
protected getCOD ( $disorder_id, $subspecialty ) |
$disorder_id |
|
|
$subspecialty |
|
|
getDisorder()
защищенный Метод
Cache wrapper for searching for and retrieving disorder by id.
getNextDisplayOrderForParent()
публичный Метод
Wrapper to handle ordering for secondary to disorders.
getNextDisplayOrderForSubspecialty()
публичный Метод
Wrapper to track the display order for Common Disorders.
getSubspecialty()
защищенный Метод
Cache wrapper for searching and retrieving subspecialty by ref spec code.
public import ( $filename, $reset_parent ) |
resetSubspecialty()
публичный Метод
Remmoves the parent list for the given subspecialty if it's not already been removed.
Описание свойств
$defaultAction публичное свойство
$disorders защищенное свойство
$display_order защищенное свойство
$required_cols защищенное свойство
$reset_parent публичное свойство
$reset_subspecialty_ids защищенное свойство
protected $reset_subspecialty_ids |
$second_display_order защищенное свойство
protected $second_display_order |
$subspecialty защищенное свойство