RE: RE: [SMARTY] RE: [PEAR] Pear::Auth and Smarty

From: Date: Tue, 17 Dec 2002 09:57:17 +0000
Subject: RE: RE: [SMARTY] RE: [PEAR] Pear::Auth and Smarty
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6858@lists.php.net to get a copy of this message
> Thanks to both of you for following up on this, but I now have more > questions...lol. > > Firstly, I would prefer to not have the $smarty->display within the > myAuth class, but rather keep it within my index.php. Is > this possible, > or even recommended? > > Also, why do you need to recycle the Smarty objects anyway? My > knowledge of OO PHP is a bit lacking! My knowledge is not that great either, it becomes useful to recycle smarty objects when you have nested levels, like a function which uses smarty, then another one and so on. It saves you some overhead to recycle objects. > Last question...would it make more sense to extend the Smarty > Class with > myAuth (or a version of)? I don't understand, you want to know if you should extend myAuth from Auth or Smarty ? > Thanks again for the help guys! I'll have a look at the recycler and > see if I can figure it out...:-) > > Simon H

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