applies a function to all objects contained by $obj and $obj itself.
iterates on $obj and its sub objects, which can iether be arrays or objects
static
mixed
applyFunctionToContainedObjects
(mixed $obj, array $callBack, [int $recursionDepth = 0], [ $maxRecursionDepth = 30], [bool $ignoreAmfTypes = true], int $maxRecursionDepth.)
-
mixed
$obj: the object/array that will be iterated on
-
array
$callBack: the function to apply to obj and subobjs. must take 1 parameter, and return the modified object
-
int
$recursionDepth: current recursion depth. The first call should be made with this set 0. default is 0
-
int
$maxRecursionDepth.: default is 30
-
bool
$ignoreAmfTypes: ignore objects with type in Amfphp_Core_Amf_Types package. could maybe be replaced by a regexp, but this is better for performance
-
$maxRecursionDepth
looks if the system is Big Endain or not
static
isSystemBigEndian
()
Determines whether an object is the ActionScript type 'ByteArray'
static
bool
is_byteArray
($obj $obj)
Determines whether an object is the ActionScript type 'Date'
static
bool
is_date
($obj $obj)
Determines whether an object is the ActionScript type 'undefined'
static
bool
is_undefined
($obj $obj)
Determines whether an object is the ActionScript type 'XML'
static
bool
is_Xml
($obj $obj)
Determines whether an object is the ActionScript type 'XmlDoument'
static
bool
is_XmlDocument
($obj $obj)