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);"
However, it rather depends on what exactly this means:
It will be setting a value for $HTMLFooterFmt,
I'm guessing you can have the onetimerule function simply return $out,
while it changes the value of the global $HTMLFooterFmt.
JR
--
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
M 021 RANKIN
[email protected]
www.affinity.co.nz
_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel