[pmwiki-users] About {$:var} text-variables

Patrick R. Michaud pmichaud at pobox.com
Sat Sep 9 17:42:49 CDT 2006


On Sat, Sep 09, 2006 at 06:12:03PM -0400, Henrik Bechmann wrote:
> Patrick,
> 
> A quick question about ($:var} text-variables: will these be available 
> to PHP? Like $somevar=$PageTextVars["VarName"]; (or some such)?

Yes, probably as:

    $somevar = PageVar($pagename, '$:VarName');

Of course, the value of $pagename will determine where {$:VarName}
is being read from.

Pm





More information about the pmwiki-users mailing list