Re: Re: coding standards: Header Comment Blocks
| From: | Tobias Schlitt | Date: | Tue, 08 Jun 2004 15:21:50 +0000 |
| Subject: | Re: Re: coding standards: Header Comment Blocks | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30177@lists.php.net to get a copy of this message | ||
Hi Tomas V.V.Cox! You wrote:
>> Can't be that hard to implement that in PEAR_PackageFileManager, can it?
> It's not hard at all, just read the contents of each file, scan for
> /@(.*)@/ and build the xml. Any of the presents in this lists can have
> it done in no more than 30 mins ;)
I'd do that even more simply. Create a new method:
addReplacement($from, $to, $type='package-info#)
done. :)
More flexible and I guess more feasible, because the file scan does not know
which "type" to set and what the replacement should be.
Regards,
Toby
--
Tobias Schlitt
a passion for php http://www.schlitt.info