Re: HTML_Template_ITX: callback functions

From: Date: Thu, 08 May 2003 18:23:15 +0000
Subject: Re: HTML_Template_ITX: callback functions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5264@lists.php.net to get a copy of this message
On Wed, 7 May 2003 13:35:37 +0200 "#swem | loci" <loci@myrmidons.de> wrote: > hi folks, > > i'm using itx for a long time and a few days ago i discovered the > feature of callback-functions. > the feature works fine inside of a row, but if i use it again after > parsing the > last row it outputs a empty row. it doesn't matter if i'm using the > same callback-function as inside the row or another one. > is this a bug or am i using the feature in a wrong way? > the documentation isn't the best ... > > here are the links to my source-code: > php-code: http://nopaste.php-q.net/14098 > callback-functions: http://nopaste.php-q.net/14099 > template: http://nopaste.php-q.net/14100 It seems you do not use the actual IT package. The class name for ITX is HTML_Template_ITX and not template_itx. Then your script is bugged. Line 16, $ht should be $t.

« previous php.pear.general (#5264) next »