[Phpslash-commit] CVS: phpslash-ft/class Block_i.class,1.10,1.11
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-01-22 05:37:19
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv4716/phpslash-ft/class Modified Files: Block_i.class Log Message: optimized getBlocks Index: Block_i.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_i.class,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Block_i.class 2002/01/08 21:38:23 1.10 --- Block_i.class 2002/01/22 05:37:16 1.11 *************** *** 16,20 **** class Block_i extends Block { /* Decare properties for class Block_i*/ ! var $psl, $templ, $debug; /* --- 16,20 ---- class Block_i extends Block { /* Decare properties for class Block_i*/ ! var $psl, $templ, $debug, $arg_ary; /* *************** *** 37,40 **** --- 37,42 ---- $this->psl = $_PSL; + $this->argv_ary = ""; + /* Do we debug? [Boolean] */ $this->debug = 1; *************** *** 323,333 **** // debug("Block_i.class::getBlocks::ary", $ary); ! ! $block_ary = $this->extractBlocks( $ary); ! $output = ""; ! for ($i=0; $i < count($block_ary); $i++) { ! $output .= $this->parseBlock($block_ary[$i], $column); } --- 325,338 ---- // debug("Block_i.class::getBlocks::ary", $ary); ! ! if ( $this->argv_ary != $ary) { ! $this->argv_ary = $ary; ! $block_ary = $this->extractBlocks( $ary); ! } ! $output = ""; ! for ($i=0; $i < count($this->block_ary); $i++) { ! $output .= $this->parseBlock($this->block_ary[$i], $column); } |