Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
JSONArrayObject Class Reference
Inheritance diagram for JSONArrayObject:
Inheritance graph
Collaboration diagram for JSONArrayObject:
Collaboration graph

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from StudipArrayObject
const STD_PROP_LIST = 1
const ARRAY_AS_PROPS = 2
- Protected Member Functions inherited from MultiDimArrayObject
 recursiveArrayToArrayObjects ($data)
- Protected Attributes inherited from StudipArrayObject
 $storage
 $flag
 $iteratorClass
 $protectedProperties

Detailed Description

This class works like an array. The internal array is constructed from a a json string When used in an string context, it is automatically converted to a json string utf8 de and encoding is done

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author
André Noack noack.nosp@m.@dat.nosp@m.a-que.nosp@m.st.d.nosp@m.e http://www.php.net/manual/en/class.arrayobject.php

Constructor & Destructor Documentation

__construct (   $input)

Construct an array object from a json string

Parameters
string$inputa json string

Here is the call graph for this function:

Member Function Documentation

__toString ( )

magic method for use of object in string context

Returns
string internal array converted to json

Here is the call graph for this function:


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