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 .
Автор: OpenEyes ([email protected])
Показать файл Открыть проект Примеры использования класса

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

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

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

Свойство Тип Описание
$cod
$disorders
$display_order
$required_cols
$reset_subspecialty_ids
$second_display_order
$subspecialty

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

Метод Описание
getNextDisplayOrderForParent ( $cod ) : mixed Wrapper to handle ordering for secondary to disorders.
getNextDisplayOrderForSubspecialty ( $subspecialty ) : mixed Wrapper to track the display order for Common Disorders.
import ( $filename, $reset_parent )
resetSubspecialty ( $subspecialty ) Remmoves the parent list for the given subspecialty if it's not already been removed.

Защищенные методы

Метод Описание
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.
protected getDisorder ( $id ) : Disorder | null
$id
Результат Disorder | null

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

Wrapper to handle ordering for secondary to disorders.
public getNextDisplayOrderForParent ( $cod ) : mixed
$cod
Результат mixed

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

Wrapper to track the display order for Common Disorders.
public getNextDisplayOrderForSubspecialty ( $subspecialty ) : mixed
$subspecialty
Результат mixed

getSubspecialty() защищенный Метод

Cache wrapper for searching and retrieving subspecialty by ref spec code.
protected getSubspecialty ( $code ) : Subspecialty | null
$code
Результат Subspecialty | null

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

public import ( $filename, $reset_parent )

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

Remmoves the parent list for the given subspecialty if it's not already been removed.
public resetSubspecialty ( $subspecialty )
$subspecialty

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

$cod защищенное свойство

protected $cod

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

public $defaultAction

$disorders защищенное свойство

protected $disorders

$display_order защищенное свойство

protected $display_order

$required_cols защищенное свойство

protected $required_cols

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

public $reset_parent

$reset_subspecialty_ids защищенное свойство

protected $reset_subspecialty_ids

$second_display_order защищенное свойство

protected $second_display_order

$subspecialty защищенное свойство

protected $subspecialty