From ae2f7ed3ef01529eabfe4b273b4073eb65462a92 Mon Sep 17 00:00:00 2001 From: Saqib Razzaq Date: Fri, 27 May 2016 16:18:15 +0500 Subject: [PATCH] Documentation added for devWitch() function --- upload/includes/functions_helper.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/upload/includes/functions_helper.php b/upload/includes/functions_helper.php index 896ea70a..db440132 100644 --- a/upload/includes/functions_helper.php +++ b/upload/includes/functions_helper.php @@ -281,6 +281,17 @@ } } + /** + * Handles everything going in ClipBucket development mode + * @param : { string } { $query } { MySQL query for which to run process } + * @param : { string } { $query_type } { type of query, select, delete etc } + * @param : { integer } { $time } { time took to execute query } + * + * @return : { array } { $__devmsgs } { array with all debugging data } + * @since : 27th May, 2016 + * @author : Saqib Razzaq + */ + function devWitch($query, $query_type, $time) { global $__devmsgs; $memoryBefore = $__devmsgs['total_memory_used'];