PHP Class RelatedImportComplexCommand

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 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])
Inheritance: extends CConsoleCommand
Datei anzeigen Open project: openeyes/openeyes

Protected Properties

Property Type Description
$DATA_FOLDER
$column_value_map
$imp_id_map

Public Methods

Method Description
getHelp ( )
getName ( )
run ( $args )

Protected Methods

Method Description
_storeTableVal ( $col_spec, $value ) TODO: handle NULL results appropriately
getTableVal ( $col_spec, $value )
handleRawData ( $raw_columns, $raw_data )
insert ( $table, $raw_columns, $raw_data )
processHandledData ( $table, $insert_cols, $data, $imp_id = null )

Method Details

_storeTableVal() protected method

TODO: handle NULL results appropriately
protected _storeTableVal ( $col_spec, $value )

getHelp() public method

public getHelp ( )

getName() public method

public getName ( )

getTableVal() protected method

protected getTableVal ( $col_spec, $value )

handleRawData() protected method

protected handleRawData ( $raw_columns, $raw_data )

insert() protected method

protected insert ( $table, $raw_columns, $raw_data )

processHandledData() protected method

protected processHandledData ( $table, $insert_cols, $data, $imp_id = null )

run() public method

public run ( $args )

Property Details

$DATA_FOLDER protected_oe property

protected $DATA_FOLDER

$column_value_map protected_oe property

protected $column_value_map

$imp_id_map protected_oe property

protected $imp_id_map