CORE POS - Fannie
The CORE POS back end
|
Static Public Member Functions | |
static | loadSampleData ($sql, $table, $search_dir='') |
|
static |
Load sample data from fannie/install/sample_data
$sql | [SQLManager] database connection |
$table | [string] table name |
$search_dir | [path, optional] look in different file location for sample data files |
Sample data should be one of the following
Detect number of columns in table to ensure dataset is complete. If the last column is autoincrement, that value may be omitted.
alternate implementation for non-mysql and/or LOAD DATA LOCAL not allowed