// Merging multishipping branche on 1.5
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user