|
Revision 34, 1.7 kB
(checked in by argh, 3 years ago)
|
Added some docs; Removed unneeded properties.
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 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 |
?> |
|---|