utils for Amf handling
| package | Amfphp_Core_Amf |
|---|---|
| author | Ariel Sommeria-klein |
applyFunctionToContainedObjects(mixed $obj, array $callBack, int $recursionDepth, int $maxRecursionDepth, bool $ignoreAmfTypes) : mixed
iterates on $obj and its sub objects, which can iether be arrays or objects
mixedthe object/array that will be iterated on
arraythe function to apply to obj and subobjs. must take 1 parameter, and return the modified object
intcurrent recursion depth. The first call should be made with this set 0. default is 0
intdefault is 30
boolignore objects with type in Amfphp_Core_Amf_Types package. could maybe be replaced by a regexp, but this is better for performance
mixedarray or object, depending on type of $objisSystemBigEndian() : \<Boolean>
\<Boolean>is_Xml($obj) : bool
| static |
|---|
boolis_XmlDocument($obj) : bool
| static |
|---|
boolis_byteArray($obj) : bool
| static |
|---|
boolis_date($obj) : bool
| static |
|---|
boolis_undefined($obj) : bool
| static |
|---|
bool