CSSmartDocumentSerializer
in package
This class takes over the serialization and deserialization of smart documents
Tags
Table of Contents
- doc2file() : void
- Serializes a CSSmartDocument into an existing MAMFile with the .smart file extension
- file2doc() : CSSmartDocument
- Reads a smart mam file and unserialises it to a CSSmartDocument object
Methods
doc2file()
Serializes a CSSmartDocument into an existing MAMFile with the .smart file extension
public
static doc2file(CSSmartDocument $doc, int $MamFileID) : void
Parameters
- $doc : CSSmartDocument
-
the document to serialize
- $MamFileID : int
-
the ID of the MamFile
Tags
Return values
void —file2doc()
Reads a smart mam file and unserialises it to a CSSmartDocument object
public
static file2doc(int $MamFileID) : CSSmartDocument
Parameters
- $MamFileID : int
-
the mam file id of the .smart document
Tags
Return values
CSSmartDocument —the document that was serialized
