PHP Класс BuildTreeCommand
(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
(C) OpenEyes Foundation, 2011-2012
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
.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
getHelp ( ) |
|
|
getName ( ) |
|
|
run ( $args ) |
Parse csv files from Google Docs, process them into the right format for MySQL import, and import them. |
|
Защищенные методы
Метод |
Описание |
|
buildTree ( $snomed, $index ) |
*
recursive function to calculate nested set values |
|
initialiseSnomed ( $snomed ) |
*
checks valid snomed, gets tree data and manages the insert |
|
insertBlock ( string $table, array $columns, array $records ) |
Insert a block of records into a table. |
|
Описание методов
buildTree()
защищенный Метод
*
recursive function to calculate nested set values
getHelp()
публичный Метод
getName()
публичный Метод
initialiseSnomed()
защищенный Метод
*
checks valid snomed, gets tree data and manages the insert
insertBlock()
защищенный Метод
Insert a block of records into a table.
Parse csv files from Google Docs, process them into the right format for MySQL import, and import them.