$GLOBALS['sqls'] = (array) $SQLs;
}
+// Remover for SQLs array
+function UNSET_SQLS () {
+ unset($GLOBALS['sqls']);
+}
+
// Getter for SQLs array
function GET_SQLS () {
return $GLOBALS['sqls'];
function IS_SQLS_VALID () {
return (
(IS_SQLS_INITIALIZED()) &&
- (COUNT_SQLS() > 0) &&
- (!empty($GLOBALS['sqls'][0]))
+ (COUNT_SQLS() > 0)
);
}