CMS  Version 3.9
SerializationHandler Interface Reference

Defines the basic interface contract for a SerializationHandler. More...

Public Member Functions

 export ()
 Export the serialized objects. More...
 
 import ($doc, $tx)
 Import from a serialized XML document. More...
 

Detailed Description

Defines the basic interface contract for a SerializationHandler.

Author
Andy Green

Definition at line 14 of file serialization_manager.inc.

Member Function Documentation

◆ export()

SerializationHandler::export ( )

Export the serialized objects.

Returns
string XML serialization of the exported objects

◆ import()

SerializationHandler::import (   $doc,
  $tx 
)

Import from a serialized XML document.

Parameters
DOMDocument$docThe document to be used as the source of the import
DataTransaction$txThe database transaction to join when creating imported objects

The documentation for this interface was generated from the following file: