[pmwiki-users] Re: Unifying variables, attributes, properties, part 1
Patrick R. Michaud
pmichaud at pobox.com
Fri Dec 16 07:09:30 CST 2005
On Fri, Dec 16, 2005 at 03:29:08AM -0700, H. Fox wrote:
> > Ultimately, this would mean that we have only two types of variables
> > (instead of the current three): "page variables" which are
> > surrounded with curlies and can be used in either wikimarkup or
> > Fmt strings, and "script variables" which don't use curlies and
> > are available only in PHP scripts.
>
> ...
> I'm not sure if it's is good or bad -- or even worth mentioning -- but
> I believe "{$foo}" would be a complex-syntax script variable and and
> '{$foo}' or "{\$foo}" would be a page variable in a cookbook script.
This is correct.
Pm
More information about the pmwiki-users
mailing list