Signed-off-by: Roland Häder <roland@mxchange.org>
* @return void
*/
private function updateTableInfoFile (StoreableCriteria $dataSetInstance) {
* @return void
*/
private function updateTableInfoFile (StoreableCriteria $dataSetInstance) {
+ // Get table name from criteria
+ $tableName = $dataSetInstance->getTableName();
+
// Create FQFN for creating the table information file
$fqfn = $this->generateFqfnFromDataSet($dataSetInstance, 'info');
// Create FQFN for creating the table information file
$fqfn = $this->generateFqfnFromDataSet($dataSetInstance, 'info');
$this->tableInfo[$tableName]['last_updated'] = time();
// Write the data to the file
$this->tableInfo[$tableName]['last_updated'] = time();
// Write the data to the file
- $this->writeDataArrayToFqfn($fqfn, $this->tableInfo[$dataSetInstance->getTableName()]);
+ $this->writeDataArrayToFqfn($fqfn, $this->tableInfo[$tableName]);
* @return void
*/
private function updatePrimaryKey (StoreableCriteria $dataSetInstance) {
* @return void
*/
private function updatePrimaryKey (StoreableCriteria $dataSetInstance) {
+ // Get table name from criteria
$tableName = $dataSetInstance->getTableName();
// Get the information array from lower method
$tableName = $dataSetInstance->getTableName();
// Get the information array from lower method