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

Class: HTML_AJAX_Serializer_JSON

Source Location: /HTML_AJAX-0.5.6/AJAX/Serializer/JSON.php

Class Overview


JSON Serializer


Author(s):

Version:

  • Release: 0.5.6

Copyright:

  • 2005 Joshua Eichorn

Variables

Methods


Child classes:

HTML_AJAX_Serializer_Error
Error Serializer, for now just uses JSON

Inherited Variables

Inherited Methods


Class Details

[line 16]
JSON Serializer


[ Top ]


Class Variables

$loose_type =

[line 36]

use loose typing to decode js objects into php associative arrays
  • Access: public

Type:   mixed


[ Top ]



Method Detail

HTML_AJAX_Serializer_JSON (Constructor)   [line 40]

HTML_AJAX_Serializer_JSON HTML_AJAX_Serializer_JSON( [ $use_loose_type = true])


Parameters:

   $use_loose_type     

[ Top ]

serialize   [line 58]

string serialize( string $input)

This function serializes and input passed to it.
  • Return: The serialized input.
  • Access: public

Parameters:

string   $input     The input to serialize.

[ Top ]

unserialize   [line 75]

string unserialize( string $input)

this function unserializes the input passed to it.
  • Return: The unserialized input.
  • Access: public

Parameters:

string   $input     The input to unserialize

[ Top ]


Documentation generated on Mon, 16 Jun 2008 15:00:18 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.