]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/class_BaseDatabaseBackend.php
Added new interfaces Handleable/-DataSet and ProtocolHandler (no content yet).
[core.git] / inc / classes / main / database / class_BaseDatabaseBackend.php
index 5c0d29be0bfb0170226d448ce6f37493460b88a6..290333d6b366813ffb5ec3eb6105a9f43823fde7 100644 (file)
@@ -5,7 +5,7 @@
  * @see                        DatabaseBackend - An interface for database backends
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -83,6 +83,14 @@ abstract class BaseDatabaseBackend extends BaseFrameworkSystem implements Databa
        protected final function resetLastException () {
                $this->lastException = NULL;
        }
+
+       /**
+        * 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 abstract function removeNonPublicDataFromArray (array $data);
 }
 
 // [EOF]