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

Class: XML_XRD_Serializer

Source Location: /XML_XRD-0.3.1/src/XML/XRD/Serializer.php

Class Overview


Serialization dispatcher - loads the correct serializer for saving XRD data.


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 26]
Serialization dispatcher - loads the correct serializer for saving XRD data.


[ Top ]


Class Variables

$xrd =

[line 33]

XRD data storage
  • Access: protected

Type:   XML_XRD


[ Top ]



Method Detail

__construct (Constructor)   [line 40]

XML_XRD_Serializer __construct( XML_XRD $xrd)

Init object with xrd object
  • Access: public

Parameters:

XML_XRD   $xrd     Data storage the data are fetched from

[ Top ]

getSerializer   [line 64]

XML_XRD_Loader getSerializer( string $type)

Creates a XRD loader object for the given type
  • Access: protected

Parameters:

string   $type     File type: xml or json

[ Top ]

to   [line 52]

string to( string $type)

Convert the XRD data into a string of the given type
  • Return: Serialized data
  • Access: public

Parameters:

string   $type     File type: xml or json

[ Top ]


Documentation generated on Thu, 17 Jul 2014 22:30:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.