[pmwiki-devel] run-once-at-end rule
pbowers at pobox.com
Wed Mar 2 21:15:16 CST 2011
On Thu, Mar 3, 2011 at 2:49 AM, John Rankin <john.rankin at affinity.co.nz> wrote:
> On 3/03/11 2:34 PM, Peter Bowers wrote:
>> What is the best way to get a rule that will run a single time at the
>> end of rule processing?
> Try something like:
> $MarkupFrameBase['posteval']['myfooter'] =
> "\$out = onetimerule(\$out);"
Great - worked perfectly! I just modified that slightly to this:
$MarkupFrameBase['posteval']['myfooter'] = "onetimerule();";
and it solved my problem perfectly!
More information about the pmwiki-devel