Smarty vars - should I extend Smarty or set them after obj made?
Posted by Karl Timmermann on 09/30/80 11:31
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?