Re: A suggestion for display()

From: Date: Sat, 03 Mar 2001 15:24:50 +0000
Subject: Re: A suggestion for display()
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-277@lists.php.net to get a copy of this message
I don't really see what you gain with this, you may as well put the name of the template in there. This might cause more confusion than convenience. Jim Harlindong wrote: > > Is it a good idea to have a default argument for display() to be the same > name as the php file except the extension is replaced with whatever > extension smarty is using by default i.e. .tpl? > > then we simply call > > $smarty->display(); > > How's that ? > > Regards, > Jimmy Harlindong > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

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