[+] 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user