This class creates the actual XML data and passes it on to a ContentHandler for optional WBXML encoding.
Each member function creates one type of SyncML artefact (like a Status response). Currently some of the information is retrieved from state. Maybe remove these dependencies (by providing the data as parameter) for an even cleaner implementation.
The SyncML_XMLOutput class takes automatically care of creating a unique CmdID for each command created.
$Horde: framework/SyncML/SyncML/XMLOutput.php,v 1.14.2.8 2009/01/06 15:23:37 jan Exp $
Copyright 2006-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /SyncML/SyncML/XMLOutput.php (line 26)
The final output as procuded by the _output Encoder. Either an XML string or a WBXML string.
The length of the output as produced by the Encoder. To limit the size of individual messages.
To we create wbxml or not?
Creates a SyncHdr output.
Required data is retrieved from state.
Creates a single Sync command
Output a single <ele>$str</ele> element.
Writes DevInf data for one DataStore.
Documentation generated on Sun, 30 Jan 2011 05:23:32 +0000 by phpDocumentor 1.4.3