Friday, February 13, 2009, 9:07:49 AM, Peter wrote: > If it were structured like this (function names intended for > self-documentation, not for actual use):
> function DoAPageList() > { > PageListOptionSetup(); > $matchlist = MakeListOfPages($selection_options); > FormatPageList($matchlist, $formatting_options); > } > Then there would be some *very useful* functions available to recipes along > the way... on further reflection, this could possibly be modelled on UpdatePages(): A DoAPageList() (BuildList) function which executes a series of function in an array BuildListFunctions, consisting of PageListOptionSetup() MakeListOfPages() FormatPageList() Then other functions may be added, or taken out, or substituted by a recipe as needed, just like is the case for the $EditFunctions array.. Hans _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel