For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > April 2006 > AW: [SMARTY] assign









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author AW: [SMARTY] assign
Benjamin Bolbach

2006-04-19, 7:06 pm

I'm not sure if that is possible,
but anyway it would brake the idea of just dividing code and design,
even if there are some ifs, foreachs etc. and even that is too much
code inside the tpl in sb's eyes.

htha

Ben

-----Urspr=FCngliche Nachricht-----
Von: Urb LeJeune [mailto:urb@usats.com]=20
Gesendet: Mittwoch, 19. April 2006 16:30
An: smarty-general@lists.php.net
Betreff: [SMARTY] assign

Within a template is it possible to assign more than one variables
within a {assign var=3D"foo" value=3D"Smarty"} statement?

Also is it possible to initialize an array within
an {assign} statement?

Thanks

Urb

--=20
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/319 - Release Date: =
19.04.2006
=20

--=20
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/319 - Release Date: =
19.04.2006
=20
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com