question regarding objects
| From: | hans at linux dot gelrevision dot nl | Date: | Wed, 11 Jul 2001 13:03:15 +0000 |
| Subject: | question regarding objects | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1149@lists.php.net to get a copy of this message | ||
Hi all,
Would like to have some advise regarding objects that could be displayed in
Smarty.
Situation:
I have two classes, a plugin class and an extended class (a plugin).
The constructor can be called using smarty: {$object->rsscreate}.
Triggering the constructor isn't a problem (it's done on startup by php) but
triggering functions within the extended class doesn't seem to work. Any good
advise? Within php itself it isn't a problem but the idea behind this setup is
that template makers can use these plugins without altering the php code behind
it.
Regards,
Hans
--
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/