YUI~dump Class
The following methods are added to the YUI instance
Methods
dump
(
String
-
o
-
d
Returns a simple string representation of the object or array. Other types of objects will be returned unprocessed. Arrays are expected to be indexed. Use object notation for associative arrays.
This method is in the 'dump' module, which is not bundled with the core YUI object
Parameters:
-
o
ObjectThe object to dump.
-
d
IntHow deep to recurse child objects, default 3.
Returns:
String:
the dump result.
dump
(
String
-
o
-
d
Returns a simple string representation of the object or array. Other types of objects will be returned unprocessed. Arrays are expected to be indexed. Use object notation for associative arrays.
This method is in the 'dump' module, which is not bundled with the core YUI object
Parameters:
-
o
ObjectThe object to dump.
-
d
IntHow deep to recurse child objects, default 3.
Returns:
String:
the dump result.