Re: Default tag handler

From: Date: Fri, 21 Sep 2001 19:02:06 +0000
Subject: Re: Default tag handler
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1514@lists.php.net to get a copy of this message
When would you want to use a template function that doesn't exist? I think that you would WANT an error. If you don't, this could get quite confusing to debug. For example, if your default function silently returned nothing and you accidenatally misspelled a function name, you could be pulling your hair out trying to figure out what is wrong. cache on/off? recompile not happening? Andrei Zmievski wrote: > > On Fri, 21 Sep 2001, Ivo Jansch wrote: > > Andrei and Monte, it would be nice if you could put this in the next > > release, I'm sure other people could benefit from this modification too. > > I'm not against it, but could you first give me an idea of how this is > useful? > > -Andrei > * A feature is a bug with seniority. * > > --- > 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 (#1514) next »