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

Added some docs.

Files:

Legend:

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

    r21 r35  
    2222 * @package     patXMLPretty 
    2323 * @subpackage  Engine 
    24  * @author      Sebastian Mordziol <argh@php-tools.net> 
     24 * @author      Sebastian 'The Argh' Mordziol <argh@php-tools.net> 
    2525 * @version     0.1.0 
    2626 * @license     LGPL 
    2727 * @link        http://www.php-tools.net 
     28 * @see         patXMLPretty_Module 
    2829 */ 
    2930class patXMLPretty_Engine extends patXMLPretty_Module 
     
    111112    } 
    112113 
     114   /** 
     115    * Tries to detect a doctype in the XML source using 
     116    * regular expressions. If a doctype is matched, this 
     117    * will return an array with two keys: 
     118    * 
     119    * array( 
     120    *     'name' => 'xxxx'      // name of the doctype 
     121    *     'elements' => array() // indexed array with raw doctype declaration elements (element|entity|attlist) 
     122    * ); 
     123    * 
     124    * @access   private 
     125    * @param    string 
     126    * @return   array|null 
     127    */ 
    113128    function _detectDoctype( $xmlSource ) 
    114129    {