Re: preg_replace_callback(), how to pass function argument/param?
| From: | Micky Hulse | Date: | Mon, 31 Mar 2008 06:15:26 +0000 |
| Subject: | Re: preg_replace_callback(), how to pass function argument/param? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272327@lists.php.net to get a copy of this message | ||
Casey wrote:
What does mah_process_tags do anyway? XDAh, hehe... Oh, basically I am trying to write a plugin for the Textpattern CMS: <http://textpattern.com/> processTags() is a core TXP function... Basically, it parses any TXP template tags (<txp:function_name atts="foo" />). Long story short, I am am modifying the processTags() function so that it looks for class methods when parsing template tags, vs. looking for regular functions. Thanks again Casey! I really appreciate your help. :) Cheers, Micky -- Wishlist: <http://tinyurl.com/22xonb> Switch: <http://browsehappy.com/> BCC?: <http://snipurl.com/w6f8> My: <http://del.icio.us/mhulse>