From: Roland Haeder Date: Mon, 10 Feb 2014 20:39:29 +0000 (+0100) Subject: Added missing method. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=87749180105852d11f444954920aeb8db93248d7;p=core.git Added missing method. Signed-off-by: Roland Häder --- diff --git a/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php index ff62369d..4620df82 100644 --- a/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php +++ b/inc/classes/interfaces/database/middleware/class_DatabaseConnector.php @@ -22,6 +22,13 @@ * along with this program. If not, see . */ interface DatabaseConnector extends FrameworkDatabase { + /** + * 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. + */ + function removeNonPublicDataFromArray (array $data); } // [EOF]