Client
[ class tree: Client ] [ index: Client ] [ all elements ]

Class: Json

Source Location: /client/AjaxHelper.php

Class Overview


PHP to JSON type converter (incomplete)


Author(s):

Methods



Class Details

[line 255]
PHP to JSON type converter (incomplete)



Tags:

todo:  Json::objectFromPhp()
todo:  Json::toPhpArray()
todo:  Json::toPhpObject()


[ Top ]


Class Methods


method arrayFromPhp [line 262]

void arrayFromPhp( mixed $phpVariable, [bool $doEscape = true])

Serializes a PHP variable to a JSON array



Tags:

static:  
access:  public


Parameters:

mixed   $phpVariable   PHP variable
bool   $doEscape   Escape quotes

[ Top ]

method escapeQuotes [line 308]

void escapeQuotes( mixed $stringToEncode)



Tags:

static:  
access:  private


[ Top ]

method fromPhpArrayToJsonArray [line 281]

void fromPhpArrayToJsonArray( array $phpArray, [bool $doEscape = true])

Serializes a PHP array to a JSON array



Tags:

static:  
access:  private


Parameters:

array   $phpArray   PHP array to be serialized in JSON array
bool   $doEscape   Escape quotes

[ Top ]


Documentation generated on Wed, 30 Aug 2006 21:56:40 +0200 by phpDocumentor 1.3.0RC3