Re[2]: [SMARTY-DEV] objects: one more approach
| From: | Daniil Kaltchenko | Date: | Fri, 17 Jan 2003 18:22:29 +0000 |
| Subject: | Re[2]: [SMARTY-DEV] objects: one more approach | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-561@lists.php.net to get a copy of this message | ||
Hi,
MO> {$foo->bar p1="foo"} <--method
MO> {$foo->bar} <-- method or property?
Maybe:
{$foo->bar() p1="foo"} <-- method
and
{$foo->bar()} <-- method
but
{$foo->bar} <-- property
And we do not have problems...
Daniil