Changeset 35 for trunk/patXMLPretty/Engine.php
- Timestamp:
- 01/10/06 11:16:22 (3 years ago)
- Files:
-
- trunk/patXMLPretty/Engine.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/patXMLPretty/Engine.php
r21 r35 22 22 * @package patXMLPretty 23 23 * @subpackage Engine 24 * @author Sebastian Mordziol <argh@php-tools.net>24 * @author Sebastian 'The Argh' Mordziol <argh@php-tools.net> 25 25 * @version 0.1.0 26 26 * @license LGPL 27 27 * @link http://www.php-tools.net 28 * @see patXMLPretty_Module 28 29 */ 29 30 class patXMLPretty_Engine extends patXMLPretty_Module … … 111 112 } 112 113 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 */ 113 128 function _detectDoctype( $xmlSource ) 114 129 {
