| 
    CORE POS - Fannie
    
   The CORE POS back end 
   | 
 
  
 Static Public Member Functions | |
| static | pushTable ($table, $db='op', $truncate=self::TRUNCATE_DESTINATION, $one_lane=0) | 
| static | push_table ($table, $db='op', $truncate=self::TRUNCATE_DESTINATION, $one_lane=0) | 
| static | pullTable ($table, $db='trans', $truncate=self::TRUNCATE_SOURCE, $one_lane=0) | 
| static | pull_table ($table, $db='trans', $truncate=self::TRUNCATE_SOURCE, $one_lane=0) | 
  Static Public Member Functions inherited from COREPOS\Fannie\API\data\SyncLanes | |
| static | pushTable ($table, $db='op', $truncate=self::TRUNCATE_DESTINATION) | 
| static | push_table ($table, $db='op', $truncate=self::TRUNCATE_DESTINATION) | 
| static | pullTable ($table, $db='trans', $truncate=self::TRUNCATE_SOURCE) | 
| static | pull_table ($table, $db='trans', $truncate=self::TRUNCATE_SOURCE) | 
Public Attributes | |
| const | TRUNCATE_NONE = 0 | 
| const | TRUNCATE_SOURCE = 1 | 
| const | TRUNCATE_DESTINATION = 2 | 
  Public Attributes inherited from COREPOS\Fannie\API\data\SyncLanes | |
| const | TRUNCATE_NONE = 0 | 
| const | TRUNCATE_SOURCE = 1 | 
| const | TRUNCATE_DESTINATION = 2 | 
Clones SyncLanes at this point, redefines everything. When issues sorted would like to replace $FCL2D/SyncLanes with this. Supports syncing a single lane. Uses extension .inc in sync/special instead of .php to avoid API scanning.
      
  | 
  static | 
Copy a table from the lanes to the server
| $table | string table name | 
| $db | string 'op' or 'trans' (default is 'trans') | 
| $truncate | integer (default is TRUNCATE_SOURCE) | 
| $one_lane | integer (default is 0, do all lanes if > 0, the lane to do) | 
      
  | 
  static | 
Copy a table from the server to the lanes
| $table | string table name | 
| $db | string 'op' or 'trans' (default is 'op') | 
| $truncate | integer (default is TRUNCATE_DESTINATION) | 
| $one_lane | integer (default is 0, do all lanes if > 0, the lane to do) | 
| const SyncLanesForPlugin::TRUNCATE_DESTINATION = 2 | 
Truncate the destination table BEFORE inserting into it
| const SyncLanesForPlugin::TRUNCATE_NONE = 0 | 
Do not truncate any tables
| const SyncLanesForPlugin::TRUNCATE_SOURCE = 1 | 
Truncate the source table AFTER copying it
 1.8.6