Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

JSON Class Reference
[Helper Classes]

List of all members.

Detailed Description

JSON function abstraction.

this class is a static wrapper for json that allows us to use it without having to worry about whether JSON is compiled in or not. for more info on JSON, visit

Definition at line 10 of file

Static Public Member Functions

 encode ($var)
 this encodes data into JSON format
 decode ($text)
 this decodes a JSON string to a PHP object

Member Function Documentation

JSON::decode text  )  [static]

this decodes a JSON string to a PHP object

$text the JSON string
a php variable from that data.

Definition at line 29 of file

JSON::encode var  )  [static]

this encodes data into JSON format

$var any PHP variable to encode.
the JSON encoded string.

Definition at line 18 of file

Referenced by JSONTemplate::drawError(), ObjectManager::drawJSONOutput(), BaseObject::drawJSONPage(), BaseMap::drawLookupPage(), and JSONTemplate::drawStatus().

The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen