Signed-off-by: Roland Häder <roland@mxchange.org>
* @param $data An array with possible non-public data that needs to be removed.
* @return $data A cleaned up array with only public data.
*/
- public abstract function removeNonPublicDataFromArray(array $data);
+ public abstract function removeNonPublicDataFromArray (array $data);
}
// [EOF]
// Return value
return $primaryKey;
}
+
+ /**
+ * Removes non-public data from given array.
+ *
+ * @param $data An array with possible non-public data that needs to be removed.
+ * @return $data A cleaned up array with only public data.
+ */
+ public function removeNonPublicDataFromArray (array $data) {
+ /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('WRAPPER[' . $this->__toString() . ']: Calling this->getDatabaseInstance()->removeNonPublicDataFromArray(data) ...');
+ $this->getDatabaseInstance()->removeNonPublicDataFromArray($data);
+ }
}
// [EOF]
*/
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);
}
}