function __construct($sourceDbParams, $syncfile_id, $tableName, $owner_col, $option_col, $extra_cols = array()) { $this->owner_col = $owner_col; $this->option_col = $option_col; $this->extra_cols = $extra_cols; parent::__construct($sourceDbParams, $syncfile_id, $tableName); }
protected function _map_fk($lItem, $fk, $type) { //Location has no 0 "undefined" value if ($fk == 'home_location_id' && $lItem->{$fk} < 1) { return null; } return parent::_map_fk($lItem, $fk, $type); }
function __construct($sourceDbParams, $syncfile_id, $tableName) { $this->tableName = $tableName; $this->sourceDbParams = $sourceDbParams; $this->syncfile_id = $syncfile_id; // make sure the db connection has the table name set $this->sourceDbParams['name'] = $this->tableName; if (self::$aliasTable == null) { self::$aliasTable = new SyncAlias(); } }
function __construct($sourceDbParams, $syncfile_id) { parent::__construct($sourceDbParams, $syncfile_id, 'training'); }
public function addAliasMember($left_id, $right_id) { return parent::addAliasMember($left_id, $right_id); }
function __construct($sourceDbParams, $syncfile_id, $tableName, $value_col) { $this->value_col = $value_col; parent::__construct($sourceDbParams, $syncfile_id, $tableName); }
function __construct($sourceDbParams, $syncfile_id) { parent::__construct($sourceDbParams, $syncfile_id, 'location'); }
function __construct($sourceDbParams, $syncfile_id) { parent::__construct($sourceDbParams, $syncfile_id, 'facility'); }