1: <?php
2: /**
3: * Implementation for notes in the Kolab XML format.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_Format
9: * @author Thomas Jarosch <thomas.jarosch@intra2net.com>
10: * @author Gunnar Wrobel <wrobel@pardus.de>
11: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
12: * @link http://www.horde.org/libraries/Horde_Kolab_Format
13: */
14:
15: /**
16: * Kolab XML handler for note groupware objects.
17: *
18: * Copyright 2007-2009 Klarälvdalens Datakonsult AB
19: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
20: *
21: * See the enclosed file COPYING for license information (LGPL). If you did not
22: * receive this file, see
23: * http://www.horde.org/licenses/lgpl21.
24: *
25: * @category Kolab
26: * @package Kolab_Format
27: * @author Thomas Jarosch <thomas.jarosch@intra2net.com>
28: * @author Gunnar Wrobel <wrobel@pardus.de>
29: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
30: * @link http://www.horde.org/libraries/Horde_Kolab_Format
31: */
32: class Horde_Kolab_Format_Xml_Note extends Horde_Kolab_Format_Xml
33: {
34: /**
35: * The name of the root element.
36: *
37: * @var string
38: */
39: protected $_root_name = 'note';
40:
41: /**
42: * Specific data fields for the prefs object
43: *
44: * @var Kolab
45: */
46: protected $_fields_specific = array(
47: 'summary' => self::TYPE_STRING,
48: 'background-color' => 'Horde_Kolab_Format_Xml_Type_Color_Background',
49: 'foreground-color' => 'Horde_Kolab_Format_Xml_Type_Color_Foreground',
50: );
51: }
52: