Use of objects within a template

From: Date: Thu, 12 Dec 2002 14:11:42 +0000
Subject: Use of objects within a template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6762@lists.php.net to get a copy of this message
Hello all, I am new to this listserv, so bear with me. I am currently developing an MVC-ish framework application using PHP/PEAR. We have just about finished the Model and would like to start developing the Controls and the Views. At this point we have been planning on just calling an include on our view files; however, since smarty has caching, this seems a better choice. My problem is, how can I use objects from my Model in my template since their does not seem to be a "register_object" function? I don't want to have to register 50 functions on each view, their has to be a way to register just my class? Any suggestions or hints would be much appreciated. ____________________________________________ Andrew S. Nagy Lead Applications Developer Living SchoolBook (315) 443-3450 http://lsb.syr.edu

« previous php.smarty.general (#6762) next »