Show
Ignore:
Timestamp:
01/10/06 11:15:58 (3 years ago)
Author:
argh
Message:

Added some docs; Removed unneeded properties.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/patXMLPretty/ConfigReader/Default.php

    r20 r34  
    11<?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 */ 
    210 
     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 */ 
    323class patXMLPretty_ConfigReader_Default extends patXMLPretty_ConfigReader 
    424{ 
     25   /** 
     26    * The colour scheme 
     27    * 
     28    * @access   private 
     29    * @var      array 
     30    */ 
    531    var $colors = array( 
    632        'cdata' => '000000', 
     
    2248    ); 
    2349 
    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    */ 
    3057    var $cdataKeepLine = 40; 
    3158 
    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; 
    3367 
    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    */ 
    3875    var $indent = 4; 
    3976 
     77   /** 
     78    * The base indent value to use for the 
     79    * whole document. 
     80    * 
     81    * @access   private 
     82    * @var      int 
     83    */ 
    4084    var $baseIndent = 0; 
    4185}