[SMARTY] Smarty vars - should I extend Smarty or set them after obj made?

Karl Timmermann <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
Hi,

Should I extend the Smarty obj, and set Smarty vars like template dir  
that way (ex. $this->template_dir = 'templates';) or should I call a  
new Smarty obj, then set the vars? (ex. $page = new Smarty(); $page- 
 >template_dir = 'templates';)? What are the advantages/ 
disadvantages, if any?

Thanks!

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.