// Merging multishipping branche on 1.5

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10259 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-11-18 11:13:31 +00:00
parent 8a1bd2eb2d
commit 5e6ab08a00
41 changed files with 2870 additions and 889 deletions
+14
View File
@@ -590,6 +590,20 @@ class ToolsCore
return $object;
}
/**
* Display a var dump in firebug console
*
* @param object $object Object to display
*/
public static function fd($object)
{
echo '
<script type="text/javascript">
console.log('.json_encode($object).');
</script>
';
}
/**
* ALIAS OF dieObject() - Display an error with detailed object
*