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

Class: HTML_AJAX_Serializer_PHP

Source Location: /HTML_AJAX-0.5.7/AJAX/Serializer/PHP.php

Class Overview


PHP Serializer


Author(s):

Version:

  • Release: 0.5.7

Copyright:

  • 2005 Arpad Ray

Methods


Inherited Variables

Inherited Methods


Class Details

[line 14]
PHP Serializer


[ Top ]


Method Detail

serialize   [line 16]

void serialize( $input)


Parameters:

   $input   — 

[ Top ]

unserialize   [line 37]

mixed unserialize( string $input, array $allowedClasses)

Unserializes the given string

Triggers an error if a class is found which is not in the provided array of allowed class names.

  • Return: the unserialized variable on success, or false on failure. If this method fails it will also trigger a warning.

Parameters:

string   $input   —  the serialized string to process
array   $allowedClasses   —  an array of class names to check objects against before instantion

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:59:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.