Re: Re: HTML_Template_Flexy: How can I browse all tags in a templete using code?
| From: | Riku Tuominen | Date: | Wed, 07 Mar 2007 10:11:18 +0000 |
| Subject: | Re: Re: HTML_Template_Flexy: How can I browse all tags in a templete using code? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26754@lists.php.net to get a copy of this message | ||
Hmm I must admit not been expert on flexy.
I have not yet familiarized my self with the tokenizer yet.
Maybe someone already done it and could help out?
Regards
Riku
----- Original Message ----- From: "Alan Knowles" <alan@akbkhome.com>
To: <pear-general@lists.php.net>; "Riku Tuominen" <riku.tuominen@benchmarking.fi>
Sent: Wednesday, March 07, 2007 5:33 AM
Subject: [PEAR] Re: HTML_Template_Flexy: How can I browse all tags in a templete using code?
Riku Tuominen wrote:Pear package: HTML_Template_Flexy How can I browse all tags in a templete using code? I like to examine first the what tags a template has before I compile it?You would have to write something that used the parse result from the Tokenizer, (which is a DOM like tree), iterated through it, and looked for all the Tokens that are "Tag like" Regards Alan -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.7/712 - Release Date: 6.3.2007 15:42