Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
MultiDimArrayObject Class Reference
Inheritance diagram for MultiDimArrayObject:
StudipArrayObject JSONArrayObject

Public Member Functions

 __construct ($input=[], $flags=self::STD_PROP_LIST, $iteratorClass= 'ArrayIterator')
 
 append ($value)
 
 exchangeArray ($data)
 
 getArrayCopy ()
 
 getIterator ()
 
 offsetSet ($key, $value)
 
- Public Member Functions inherited from StudipArrayObject
 __construct ($input=[], $flags=self::STD_PROP_LIST, $iteratorClass= 'ArrayIterator')
 
 __isset ($key)
 
 __set ($key, $value)
 
 __unset ($key)
 
 __get ($key)
 
 append ($value)
 
 asort ()
 
 count ()
 
 exchangeArray ($data)
 
 getArrayCopy ()
 
 getFlags ()
 
 getIterator ()
 
 getIteratorClass ()
 
 ksort ()
 
 natcasesort ()
 
 natsort ()
 
 offsetExists ($key)
 
 offsetGet ($key)
 
 offsetSet ($key, $value)
 
 offsetUnset ($key)
 
 serialize ()
 
 setFlags ($flags)
 
 setIteratorClass ($class)
 
 uasort ($function)
 
 uksort ($function)
 
 unserialize ($data)
 

Protected Member Functions

 recursiveArrayToArrayObjects ($data)
 
- Protected Member Functions inherited from StudipArrayObject
 validateKeyUsage ($key)
 

Additional Inherited Members

- Data Fields inherited from StudipArrayObject
const STD_PROP_LIST = 1
 
const ARRAY_AS_PROPS = 2
 
- Protected Attributes inherited from StudipArrayObject
 $storage
 
 $flag
 
 $iteratorClass
 
 $protectedProperties
 

Detailed Description

Constructor & Destructor Documentation

__construct (   $input = [],
  $flags = self::STD_PROP_LIST,
  $iteratorClass = 'ArrayIterator' 
)

Constructor

Parameters
array$input
int$flags
string$iteratorClass

Member Function Documentation

append (   $value)

Appends the value

Parameters
mixed$value
Returns
void
exchangeArray (   $data)

Exchange the array for another one.

Parameters
array | ArrayObject$data
Returns
array
getArrayCopy ( )

Creates a copy of the ArrayObject.

Returns
array
getIterator ( )

Create a new iterator from an ArrayObject instance

Returns
offsetSet (   $key,
  $value 
)

Sets the value at the specified key to value

Parameters
mixed$key
mixed$value
Returns
void
recursiveArrayToArrayObjects (   $data)
protected

The documentation for this class was generated from the following file: