On Fri, Jan 26, 2007 at 03:11:58PM -0500, The Editor wrote:
> If I wanted to created an array of ALL the pages in wiki.d, how would
> I modify this line:
> 
> $AllPages = ListPages("/^$g\\.\\d/");

To get all of the pages on a site, you would use:

    $AllPages = ListPages();


If you want just those pages that are in wiki.d/  (i.e., excluding
wikilib.d/ or any other custom pagestores):

    $AllPages = $WikiDir->ls(array());

Pm

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to