var names
| From: | dc | Date: | Wed, 08 Jun 2005 14:34:37 +0000 |
| Subject: | var names | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12674@lists.php.net to get a copy of this message | ||
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" Colliermobile business creator |モバイル・ビジネス・クリエーター
dc@pikkle.com
skype: callto://d3ntaku
http://www.pikkle.com
new number! >>>>
+81 (0)80 6521 9559