[pmwiki-users] Subst. terminology (Was: variables for customization)

Patrick R. Michaud pmichaud at pobox.com
Thu Jul 7 19:47:47 CDT 2005


On Fri, Jul 08, 2005 at 12:21:36AM +0200, chr at home.se wrote:
> On Thu, 7 Jul 2005, Patrick R. Michaud wrote:
> > In general I've always tried to consistently use the term "variable" 
> > for PHP variable, "$-substitution" or "substitution" for the 
> > special $-items in FmtPageName, and "markup" for things like 
> > {$Group} and {$FullName}.
> 
> Ok. Fine by me, which would leave us with this??
> 
> * PHP variable - ...
> * $-substition - the stuff substituted by FmtPageName()
> * ??? - $[...], is that a part of the $-substitions?

I think of it as part of $-substitutions, but one could also consider
it part of i18n.

> Just a final check. If you add your own {$var} to the markup rules and do
> it using GLOBALS[], this will automatically be known by FmtPageName()?

To be more precise: anything you stick in $GLOBALS is automatically
known by FmtPageName (irrespective of Markup).

Pm



More information about the pmwiki-users mailing list