object support in smarty
| From: | Adi Sieker | Date: | Fri, 22 Jun 2001 20:12:37 +0000 |
| Subject: | object support in smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-950@lists.php.net to get a copy of this message | ||
Hi all,
I have done some tweaking on the current Version of Smarty 1.4.3
and have some support for assigning _an_ object implemented.
I implemented this so I can access my database class directly
without having to copy everything around. i.e. The parsed Templates
will call nextrecord and fetch on the assigned class to get the
values.
This isn't very well tested (actually I have only tested it on one
template with the simplest section loop as I haven't really got a clue
about Smarty) and some things I still need to sort out.
Is there anyone into having a look and giving me a hand to sort out my
last problems??
Regards
Adi