cvs: pear /HTML_Template_Flexy Flexy.php

From: Date: Sat, 24 Aug 2002 00:19:09 +0000
Subject: cvs: pear /HTML_Template_Flexy Flexy.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5917@lists.php.net to get a copy of this message
alan_k Fri Aug 23 20:19:09 2002 EDT Modified files: /pear/HTML_Template_Flexy Flexy.php Log: fixed bug caused by removing setoption stuff Index: pear/HTML_Template_Flexy/Flexy.php diff -u pear/HTML_Template_Flexy/Flexy.php:1.1 pear/HTML_Template_Flexy/Flexy.php:1.2 --- pear/HTML_Template_Flexy/Flexy.php:1.1 Fri Aug 23 02:55:21 2002 +++ pear/HTML_Template_Flexy/Flexy.php Fri Aug 23 20:19:09 2002 @@ -38,7 +38,7 @@ * - heavily focused on displaying objects as pages. * (so you can document your tags.) * -* @version $Id: Flexy.php,v 1.1 2002/08/23 06:55:21 alan_k Exp $ +* @version $Id: Flexy.php,v 1.2 2002/08/24 00:19:09 alan_k Exp $ */ class HTML_Template_Flexy { @@ -362,7 +362,7 @@ function applyFilters( $input , $prefix = "",$negate=FALSE) { $this->debug("APPLY FILTER $prefix<BR>"); - $filters = $this->option['filters']; + $filters = $this->options['filters']; $this->debug(serialize($filters)."<BR>"); foreach($filters as $filtername) { $class = "HTML_Template_Flexy_Filter_{$filtername}"; @@ -414,7 +414,7 @@ function debug($string) { - if (!$this->option['debug']) { + if (!$this->options['debug']) { return; } echo "<PRE><B>FLEXY DEBUG:</B> $string</PRE>";

« previous php.pear.cvs (#5917) next »