Changeset 34 for trunk/patXMLPretty/ConfigReader
- Timestamp:
- 01/10/06 11:15:58 (3 years ago)
- Files:
-
- trunk/patXMLPretty/ConfigReader/Default.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/patXMLPretty/ConfigReader/Default.php
r20 r34 1 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 */ 2 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 */ 3 23 class patXMLPretty_ConfigReader_Default extends patXMLPretty_ConfigReader 4 24 { 25 /** 26 * The colour scheme 27 * 28 * @access private 29 * @var array 30 */ 5 31 var $colors = array( 6 32 'cdata' => '000000', … … 22 48 ); 23 49 24 var $tagColors = array(); 25 26 var $namespaceColors = array(); 27 28 var $keepLine = array(); 29 50 /** 51 * Keep the line in cdata sections up to the 52 * specified string length. 53 * 54 * @access private 55 * @var int 56 */ 30 57 var $cdataKeepLine = 40; 31 58 32 var $contentWrapLength = 70; 59 /** 60 * Line length before lines are wrapped to a 61 * newline. 62 * 63 * @access private 64 * @var int 65 */ 66 var $contentWrapLength = 75; 33 67 34 var $hideCDATA = array(); 35 36 var $inlineDoc = array(); 37 68 /** 69 * The amount of times to iterate the indent 70 * character for each depth. 71 * 72 * @access private 73 * @var int 74 */ 38 75 var $indent = 4; 39 76 77 /** 78 * The base indent value to use for the 79 * whole document. 80 * 81 * @access private 82 * @var int 83 */ 40 84 var $baseIndent = 0; 41 85 }
