RE: [PEAR] [QF] - add rule - callback rule using built-in/registered rule inside
| From: | Mike Carter | Date: | Tue, 27 Jan 2004 10:40:20 +0000 |
| Subject: | RE: [PEAR] [QF] - add rule - callback rule using built-in/registered rule inside | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10374@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Sebastian Baran [mailto:Sebastian.Baran@dialcom.com.pl]
>
> I want to create custom callback rule. But part of it's functionality
> is going to be the same as one of built-in rules. My question is - is
> it possible to call built-in rule from my callback function? Or
> do I have to rewrite built-in rule functionality by hand in my
> function?
Depending on exactly what your rule is going to do,
could you not add the rules in the right order, so that the built-in one is
called before your custom callback one?
- Mike