root/trunk/patXMLPretty/ConfigReader/Default.php

Revision 34, 1.7 kB (checked in by argh, 3 years ago)

Added some docs; Removed unneeded properties.

Line 
1 <?php
2 /**
3  * File containing the patXMLPretty_ConfigReader_Default class.
4  *
5  * @access        public
6  * @package        patXMLPretty
7  * @subpackage    ConfigReader
8  * @see            patXMLPretty_ConfigReader_Default
9  */
10
11 /**
12  * Default configuration reader with a basic colour scheme, but
13  * no inline documentation.
14  *
15  * @access        public
16  * @package        patXMLPretty
17  * @subpackage    ConfigReader
18  * @author        Sebastian 'The Argh' Mordziol <argh@php-tools.net>
19  * @link         http://www.php-tools.net
20  * @link        http://sebastian.mordziol.de
21  * @see            patXMLPretty_ConfigReader
22  */
23 class patXMLPretty_ConfigReader_Default extends patXMLPretty_ConfigReader
24 {
25    /**
26     * The colour scheme
27     *
28     * @access    private
29     * @var        array
30     */
31     var $colors = array(
32         'cdata' => '000000',
33         'tag' => '3F6E99',
34         'attribName' => 'EE6A00',
35         'attribValue' => '8D8D8D',
36         'externalEntity' => '3F6E99',
37         'namespace' => 'cc0000',
38         'brackets' => '666666',
39         'commentBrackets' => '888888',
40         'commentValue' => 'aaaaaa',
41         'xmlDeclaration' => 'cc0000',
42         'xmlDeclarationAttribName' => 'cc0000',
43         'xmlDeclarationAttribValue' => '8D8D8D',
44         'xmlDeclarationTag' => '990000',
45         'cdataTag' => '555555',
46         'cdataContent' => '888888',
47         'entityReference' => 'cc0000',
48     );
49
50    /**
51     * Keep the line in cdata sections up to the
52     * specified string length.
53     *
54     * @access    private
55     * @var        int
56     */
57     var $cdataKeepLine = 40;
58
59    /**
60     * Line length before lines are wrapped to a
61     * newline.
62     *
63     * @access    private
64     * @var        int
65     */
66     var $contentWrapLength = 75;
67
68    /**
69     * The amount of times to iterate the indent
70     * character for each depth.
71     *
72     * @access    private
73     * @var        int
74     */
75     var $indent = 4;
76
77    /**
78     * The base indent value to use for the
79     * whole document.
80     *
81     * @access    private
82     * @var        int
83     */
84     var $baseIndent = 0;
85 }
86 ?>
Note: See TracBrowser for help on using the browser.