[SMARTY] var names
dc <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Organization | pikkle |
| Message-ID | <[email protected]> |
is it possible to assign to a field of an object? (member variable, or
rather array variable).
ie use dot syntax in an assign?
{if $btn.over eq 'path' } // works ok
{assign var='btn.over' value=$btn.path}
over={$btn.over}
doesnt seem to make the assignment. btn.over is still "path"
/dc
_______________________________________________
David "DC" Collier
mobile business creator
[email protected]
skype: callto://d3ntaku
http://www.pikkle.com
new number! >>>>
+81 (0)80 6521 9559
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php