Class Amfphp_Core_Amf_Util

Description

utils for Amf handling

  • author: Ariel Sommeria-klein

Located in /Amfphp/Core/Amf/Util.php (line 19)


	
			
Method Summary
static mixed applyFunctionToContainedObjects (mixed $obj, array $callBack, [int $recursionDepth = 0], [ $maxRecursionDepth = 30], int $maxRecursionDepth.)
static isSystemBigEndian ()
Methods
static method applyFunctionToContainedObjects (line 38)

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

  • return: array or object, depending on type of $obj
  • access: public
static mixed applyFunctionToContainedObjects (mixed $obj, array $callBack, [int $recursionDepth = 0], [ $maxRecursionDepth = 30], 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
  • $maxRecursionDepth
static method isSystemBigEndian (line 24)

looks if the system is Big Endain or not

  • access: public
static isSystemBigEndian ()

Documentation generated on Thu, 24 Mar 2011 16:55:41 +0100 by phpDocumentor 1.4.3