Class Horde_Kolab_Format_Xml
Kolab XML to array hash converter.
For implementing a new format type you will have to inherit this class and provide a _load/_save function.
Copyright 2007-2009 Klarälvdalens Datakonsult AB Copyright 2010-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Kolab_Format_Xml implements Horde_Kolab_Format
Direct known subclasses
Horde_Kolab_Format_Xml_Annotation, Horde_Kolab_Format_Xml_Contact, Horde_Kolab_Format_Xml_Distributionlist, Horde_Kolab_Format_Xml_Envelope, Horde_Kolab_Format_Xml_Event, Horde_Kolab_Format_Xml_Hprefs, Horde_Kolab_Format_Xml_Note, Horde_Kolab_Format_Xml_TaskCategory: Kolab
License: LGPL 2.1
Author: Thomas Jarosch thomas.jarosch@intra2net.com
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://www.horde.org/libraries/Horde_Kolab_Format
Located at Horde/Kolab/Format/Xml.php
public
|
#
__construct(
Constructor |
public
array
|
|
public
resource
|
|
public
integer
|
#
getVersion( )
Return the API version of the data structures that are being used for in- and output. |
string |
PRODUCT_ID
Defines a XML value that should get a default value if missing |
#
__CLASS__
|
integer |
VALUE_DEFAULT
Defines a XML value that should get a default value if missing |
#
0
|
integer |
VALUE_MAYBE_MISSING
Defines a XML value that may be missing |
#
1
|
integer |
VALUE_NOT_EMPTY
Defines a XML value that may not be missing |
#
2
|
integer |
VALUE_CALCULATED
Defines a XML value that will be calculated by its own function |
#
3
|
string |
TYPE_STRING
Defines a XML value as string type |
#
'Horde_Kolab_Format_Xml_Type_String'
|
string |
TYPE_INTEGER
Defines a XML value as integer type |
#
'Horde_Kolab_Format_Xml_Type_Integer'
|
string |
TYPE_BOOLEAN
Defines a XML value as boolean type |
#
'Horde_Kolab_Format_Xml_Type_Boolean'
|
string |
TYPE_DATE
Defines a XML value as date type |
#
'Horde_Kolab_Format_Xml_Type_Date'
|
string |
TYPE_DATETIME
Defines a XML value as datetime type |
#
'Horde_Kolab_Format_Xml_Type_DateTime'
|
string |
TYPE_DATE_OR_DATETIME
Defines a XML value as date or datetime type |
#
'Horde_Kolab_Format_Xml_Type_DateTime'
|
string |
TYPE_COLOR
Defines a XML value as color type |
#
'Horde_Kolab_Format_Xml_Type_Color'
|
string |
TYPE_COMPOSITE
Defines a XML value as composite value type |
#
'Horde_Kolab_Format_Xml_Type_Composite'
|
string |
TYPE_MULTIPLE
Defines a XML value as array type |
#
'Horde_Kolab_Format_Xml_Type_Multiple'
|
string |
TYPE_XML
Defines a XML value as raw XML |
#
'Horde_Kolab_Format_Xml_Type_XmlAppend'
|
string |
TYPE_ROOT
Represents the Kolab format root node |
#
'Horde_Kolab_Format_Xml_Type_Root'
|
VERSION
|