Added more debug lines + missing super method.
[core.git] / inc / classes / main / database / class_BaseDatabaseWrapper.php
index 9430c6ace7700cf68ec3bfe8a7484d725fcdf713..358646182e51a7f761455e2024ed279eb6bf9967 100644 (file)
@@ -221,6 +221,17 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem {
                // 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]