[pmwiki-users] Group name variables

Patrick R. Michaud pmichaud at pobox.com
Sat Jan 28 10:41:07 CST 2006


On Sat, Jan 28, 2006 at 09:13:40AM -0700, H. Fox wrote:
> On 1/24/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > Starting with beta21, the ideal sequence will be something like:
> >
> >     $pagename = InitPageName($pagename);
> >     $group = PageVar($pagename, '{$Group}');
> >
> > which will first resolve $pagename to its "correct" value
> > (based on $DefaultPage, $DefaultGroup, UTF-8 settings, etc.)
> > and then obtain the group.
> 
> There's no InitPageName() function in beta21. Is the something like it?

It became "ResolvePageName()" instead -- it's more descriptive
of what is happening.

Pm




More information about the pmwiki-users mailing list