Re: HTML_Template_Flexy: How can I browse all tags in a templete using code?
| From: | Alan Knowles | Date: | Wed, 07 Mar 2007 03:33:44 +0000 |
| Subject: | Re: HTML_Template_Flexy: How can I browse all tags in a templete using code? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26749@lists.php.net to get a copy of this message | ||
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