[+] BO : add SQL manager

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8760 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-09-26 08:30:14 +00:00
parent 30e94d126c
commit 60c004493e
14 changed files with 3066 additions and 9 deletions
+12
View File
@@ -1317,6 +1317,18 @@ class ToolsCore
return false;
}
public static function parserSQL($sql)
{
if (strlen($sql) > 0)
{
require_once(_PS_TOOL_DIR_.'parser_sql/parser_sql.php');
$parser = new parserSql($sql);
return $parser->parsed;
}
return false;
}
public static function minifyCSS($css_content, $fileuri = false)
{
global $current_css_file;