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

Class: HTML_AJAX_Serializer_XML

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

Class Overview


XML Serializer - does NOT need a js serializer, use responseXML property in XmlHttpRequest


Author(s):

Version:

  • Release: 0.5.7

Copyright:

  • 2005-2006 Elizabeth Smith

Methods


Inherited Variables

Inherited Methods


Class Details

[line 14]
XML Serializer - does NOT need a js serializer, use responseXML property in XmlHttpRequest


[ Top ]


Method Detail

serialize   [line 28]

string serialize( object $input)

Serializes a domdocument into an xml string

Uses dom or domxml to dump a string from a DomDocument instance remember dom is always the default and this will die horribly without a domdocument instance

  • Return: xml string of DomDocument
  • Access: public

Parameters:

object   $input   —  instanceof DomDocument

[ Top ]

unserialize   [line 63]

object instanceofDomDocument unserialize( string $input)

Unserializes the xml string sent from the document

Uses dom or domxml to pump a string into a DomDocument instance remember dom is always the default and this will die horribly without one or the other, and will throw warnings if you have bad xml

  • Access: public

Parameters:

string   $input   —  The input to serialize.

[ Top ]


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