Re: [SMARTY] $global_assign
| From: | Martijn van Zal | Date: | Mon, 03 Jun 2002 13:41:43 +0000 |
| Subject: | Re: [SMARTY] $global_assign | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4519@lists.php.net to get a copy of this message | ||
I was cirious about the {$smarty.foreach} description, and the manual
states: "{$smarty} variable can be used to refer to 'section' and 'foreach'
loop properties. See docs for section and foreach. " Section is
well-discribed, but I allways use foreach if I can, and I couldn't find any
documentation about it there. I just wondered what the $smarty properties
for a foreach are.
________________________________________
Martijn van Zal GFXartist Network
Technical Manager
mail: martijn@gfxartist.com
icq: 8213621
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Martijn van Zal" <martijn@brothersinart.net>
Cc: "Blue Presley" <blue928@carolina.rr.com>; <smarty-general@lists.php.net>
Sent: Monday, June 03, 2002 3:28 PM
Subject: Re: [SMARTY] $global_assign
> On Mon, 03 Jun 2002, Martijn van Zal wrote:
> > If I remember correctly you can enter names of some global variabeles in
the
> > array which will allways be assigned to all templates.
> >
> > Does anyone have a complete list of all $smarty values? or a way to see
> > them? I looked in the manual, but I have the idea not everything is
listed
> > there. Is there more? or just what's listed in the manual? (request
vars,
> > now, capture, section, foreach and template)
>
> I think the manual should be complete.
>
> -Andrei http://www.gravitonic.com/f@½¨
> <|‹g4ÀÎð
>
> Documentation is worth it just to be able
> to answer all your mail with 'RTFM'. -- Alan Cox