jboffel / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Using PHP object in Smarty tag #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Any use of object reference in Smarty tag. For example if I have assigned
to Smarty object $CFG or have registered in Smarty object CFG its use leads
to warning of invalid character '>'.
1. {$CFG->property}
2. {CFG->property}
3. {CFG->method}

What is the expected output? What do you see instead?
The character '>' is valid becuase its not part of HTML but part of
Smarty/PHP reference to objects properties and methods '->'.

What version of the product are you using? On what operating system?
smarty plugin 0.52
pdt 1.0.1v20071210
eclipse 3.3.1.1

Original issue reported on code.google.com by todd.ki...@gmail.com on 30 Jan 2008 at 8:59

GoogleCodeExporter commented 9 years ago
seems to be a high priority bug,

thanks

Original comment by ganoro on 30 Jan 2008 at 5:01

GoogleCodeExporter commented 9 years ago
I think so, too. However as far as I see it is essentially the same issue as #9

Original comment by Aron.Szi...@gmail.com on 20 Jul 2008 at 4:09

GoogleCodeExporter commented 9 years ago
I'm getting the same issue:

Warning: Invalid character used in text string on line 3

Welcome {$identity->first_name}.

and the ">" character is underlined even though it's between the {}'s

Original comment by andre...@gmail.com on 6 Jan 2009 at 11:54