CORE-POS/IS4C

View on GitHub
fannie/classlib2.0/data/SyncSpecial.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace COREPOS\Fannie\API\data;

/**
  Base class for custom table synchronization
  routines. Intended to replace the old
  symlink based system
*/
class SyncSpecial
{
    protected $config;

    public function __construct($config)
    {
        $this->config = $config;
    }

    /**
      Send table to the lanes
      @param $tableName [string]
      @param $dbName [string]
      @param $includeOffline [bool; default false]
      @return [keyed array]
        - success [boolean]
        - details [string]
    */
    public function push($tableName, $dbName, $includeOffline=false)
    {
        return array('success'=>false, 'details'=>'Just a base class');
    }
}