Re: phpdoc2peardoc

From: Date: Fri, 13 Sep 2002 00:22:06 +0000
Subject: Re: phpdoc2peardoc
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9024@lists.php.net to get a copy of this message
On Wed, 11 Sep 2002 02:00:35 +0200 alexander.merz@t-online.de (Alexander Merz) wrote: > Pierre-Alain Joye wrote: > > >>5.) edit pd2pm.php to meet your paths for HTML_Template_IT and PHPDoc > >>6.) comment the IT.php and ITX.php includes in prepend.php of PHPDoc > > Btw, did you encounter any kind of problem with it ? If no, I release it as stable right > > now. > I would call it "mysterious" or unexpected behavoir > If you do not unset the named $subst entries the parsing of the > 'Parameter' block creates a new parsed 'paramentry' block. > If $parameters contains 2 array you get 3 'PARAMENTRY'-blocks > > Normaly i would expected: > - parse and substitute 'PARAMENTRY' > - parse and substitute 'PARAMETER' -> include the processed > 'PARAMETERENTRY' blocks and only substitude place holders in 'PARAMETER' > *outside* 'PARAMETERENTRY' Not a bug :-). I look in pd2pm.php to see the template and how you process it. IT caches data between parsing operation, that s why it repeats the last, to avoid that, just set the option : $tpl->clearCacheOnParse = true; hth pa

« previous php.pear.dev (#9024) next »