1: <?php
2: /**
3: * Implementation for horde user preferences in the Kolab XML format.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_Format
9: * @author Gunnar Wrobel <wrobel@pardus.de>
10: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
11: * @link http://www.horde.org/libraries/Horde_Kolab_Format
12: */
13:
14: /**
15: * Kolab XML handler for client preferences.
16: *
17: * Copyright 2007-2012 Horde LLC (http://www.horde.org/)
18: *
19: * See the enclosed file COPYING for license information (LGPL). If you did not
20: * receive this file, see
21: * http://www.horde.org/licenses/lgpl21.
22: *
23: * @category Kolab
24: * @package Kolab_Format
25: * @author Gunnar Wrobel <wrobel@pardus.de>
26: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
27: * @link http://www.horde.org/libraries/Horde_Kolab_Format
28: */
29: class Horde_Kolab_Format_Xml_Hprefs extends Horde_Kolab_Format_Xml
30: {
31: /**
32: * The name of the root element.
33: *
34: * @var string
35: */
36: protected $_root_name = 'h-prefs';
37:
38: /**
39: * Specific data fields for the prefs object
40: *
41: * @var Kolab
42: */
43: protected $_fields_specific = array(
44: 'application' => 'Horde_Kolab_Format_Xml_Type_PrefsApplication',
45: 'pref' => 'Horde_Kolab_Format_Xml_Type_Multiple_String',
46: );
47: }
48: