CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
COREPOS\pos\install\data\Loader Class Reference

Static Public Member Functions

static loadSampleData ($sql, $table, $quiet=false)
 

Member Function Documentation

static COREPOS\pos\install\data\Loader::loadSampleData (   $sql,
  $table,
  $quiet = false 
)
static

Load sample data into the table

Parameters
$sql[SQLManager object] connected to database
$table[string] table name
$quiet[boolean, default false] suppress output
Returns
[boolean] success

Handle symlinks on windows by checking if the first line of the file contains the name of another CSV file.

alternate implementation for non-mysql and/or LOAD DATA LOCAL not allowed


The documentation for this class was generated from the following file: