Re: [SMARTY-DEV] Re: object support
| From: | Nick Charsley | Date: | Wed, 22 Jan 2003 15:53:28 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: object support | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-588@lists.php.net to get a copy of this message | ||
> So what if we support both methods?
[snip]
> So two ways to use objects:
>
> PREFERRED, PREACHED METHOD:
> 1) Registering of object methods as template functions:
> NOT PREFERRED, BUT SUPPORTED METHOD:
> 2) assign objects, access them directly:
>
> Would this satisfy both sides of the fence?
>
> Monte
As long as the smarty developers think they will be able to provide this
then I'll be happy. The syntax is different enough that there should be no
confusion as to which a template is being designed for (although it would be
possible for the masochists to have some objects assigned and some
registered).
Nick (c)
climbing back onto the fence for the view (honest :)