For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > June 2005 > var names









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 var names
dc

2005-06-08, 4:01 pm

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 $B!C%b%P%$%k!&%S%8%M%9!&%/%j%(!<%?!<(B
dc@pikkle.com
skype: callto://d3ntaku
http://www.pikkle.com
new number! >>>>
+81 (0)80 6521 9559
Sponsored Links







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

Copyright 2008 codecomments.com