PHP Class 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 .
Author: OpenEyes ([email protected])
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultAction
$reset_parent

Protected Properties

Свойство Type Description
$cod
$disorders
$display_order
$required_cols
$reset_subspecialty_ids
$second_display_order
$subspecialty

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

getCOD() protected méthode

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() protected méthode

Cache wrapper for searching for and retrieving disorder by id.
protected getDisorder ( $id ) : Disorder | null
$id
Résultat Disorder | null

getNextDisplayOrderForParent() public méthode

Wrapper to handle ordering for secondary to disorders.
public getNextDisplayOrderForParent ( $cod ) : mixed
$cod
Résultat mixed

getNextDisplayOrderForSubspecialty() public méthode

Wrapper to track the display order for Common Disorders.
public getNextDisplayOrderForSubspecialty ( $subspecialty ) : mixed
$subspecialty
Résultat mixed

getSubspecialty() protected méthode

Cache wrapper for searching and retrieving subspecialty by ref spec code.
protected getSubspecialty ( $code ) : Subspecialty | null
$code
Résultat Subspecialty | null

import() public méthode

public import ( $filename, $reset_parent )

resetSubspecialty() public méthode

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

Property Details

$cod protected_oe property

protected $cod

$defaultAction public_oe property

public $defaultAction

$disorders protected_oe property

protected $disorders

$display_order protected_oe property

protected $display_order

$required_cols protected_oe property

protected $required_cols

$reset_parent public_oe property

public $reset_parent

$reset_subspecialty_ids protected_oe property

protected $reset_subspecialty_ids

$second_display_order protected_oe property

protected $second_display_order

$subspecialty protected_oe property

protected $subspecialty