Signed-off-by: Roland Häder <roland@mxchange.org>
*/
public function removeNonPublicDataFromArray (array $data) {
/* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('WRAPPER[' . $this->__toString() . ']: Calling this->getDatabaseInstance()->removeNonPublicDataFromArray(data) ...');
- $this->getDatabaseInstance()->removeNonPublicDataFromArray($data);
+ $data = $this->getDatabaseInstance()->removeNonPublicDataFromArray($data);
+
+ /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('WRAPPER[' . $this->__toString() . ']: data[]=' . gettype($data));
+ return $data;
}
}
unset($data[$this->indexKey]);
// Return it
+ /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DATABASE: data[' . gettype($data) . ']='.print_r($data, TRUE));
return $data;
}
}
public function removeNonPublicDataFromArray (array $data) {
// Call database backend
/* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DB-CONNECTION[' . $this->__toString() . ']: Calling this->dbLayer->removeNonPublicDataFromArray(data) ...');
- return $this->dbLayer->removeNonPublicDataFromArray($data);
+ $data = $this->dbLayer->removeNonPublicDataFromArray($data);
+
+ /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DB-CONNECTION[' . $this->__toString() . ']: data[]=' . gettype($data));
+ return $data;
}
}