cvs: php4 /pear/PHPDoc/redist IT.php
| From: | Sebastian Bergmann | Date: | Tue, 10 Oct 2000 05:54:38 +0000 |
| Subject: | cvs: php4 /pear/PHPDoc/redist IT.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1971@lists.php.net to get a copy of this message | ||
sbergmann Mon Oct 9 22:54:38 2000 EDT
Modified files:
/php4/pear/PHPDoc/redist IT.php
Log:
Updated IntegratedTemplate class.
Index: php4/pear/PHPDoc/redist/IT.php
diff -u php4/pear/PHPDoc/redist/IT.php:1.1 php4/pear/PHPDoc/redist/IT.php:1.2
--- php4/pear/PHPDoc/redist/IT.php:1.1 Sun Oct 8 03:03:19 2000
+++ php4/pear/PHPDoc/redist/IT.php Mon Oct 9 22:54:38 2000
@@ -31,7 +31,7 @@
* @version 1.1 28/09/00
* @access public
*/
-class IntegratedTemplate extends PhpdocObject {
+class IntegratedTemplate {
/**
* Contains the error objects
@@ -207,8 +207,6 @@
*/
var $flagGlobalParsed = false;
- var $debug = false;
-
/**
* Builds some complex regular expressions and optinally sets the file root directory.
*
@@ -320,10 +318,8 @@
while (list($k, $innerblock)=each($this->blockinner[$block])) {
$this->parse($innerblock, true);
- if (""!=$this->blockdata[$innerblock]) {
- if ($this->debug) print "<tr><td colspan=2>NICHT LEER:
$innerblock</td></tr>";
+ if (""!=$this->blockdata[$innerblock])
$empty = false;
- }
$placeholder =
$this->openingDelimiter."__".$innerblock."__".$this->closingDelimiter;
$outer = str_replace($placeholder, $this->blockdata[$innerblock], $outer);
@@ -334,18 +330,6 @@
if ($this->removeUnknownVariables)
$outer = preg_replace($this->variablesRegExp, "", $outer);
- if ($this->debug) {
- ?>
-
- <tr>
- <td colspan=2>Block: <?php echo $block; ?></td>
- </tr>
- <tr><td>Empty?</td><td><?php $this->j($empty);
?></td></tr>
- <tr><td>removeEmptyBlocks?</td><td><?php
$this->j($this->removeEmptyBlocks); ?></td></tr>
- <tr><td>Rekursion?</td><td><?php $this->j($flag_recursion);
?></td></tr>
- <tr><td>Values</td><td><?php print count($values);
?></td></tr>
- <?php
- }
if ($empty) {
if (!$this->removeEmptyBlocks)