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
.
Mostra file
Open project: openeyes/openeyes
Class Usage Examples
Public Properties
Protected Properties
Public Methods
Protected Methods
Method |
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 method
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 method
Cache wrapper for searching for and retrieving disorder by id.
getNextDisplayOrderForParent()
public method
Wrapper to handle ordering for secondary to disorders.
getNextDisplayOrderForSubspecialty()
public method
Wrapper to track the display order for Common Disorders.
getSubspecialty()
protected method
Cache wrapper for searching and retrieving subspecialty by ref spec code.
public import ( $filename, $reset_parent ) |
resetSubspecialty()
public method
Remmoves the parent list for the given subspecialty if it's not already been removed.
Property Details
$cod protected_oe property
$defaultAction public_oe property
$disorders protected_oe property
$display_order protected_oe property
$required_cols protected_oe property
$reset_parent public_oe property
$reset_subspecialty_ids protected_oe property
protected $reset_subspecialty_ids |
$second_display_order protected_oe property
protected $second_display_order |
$subspecialty protected_oe property