Re: [SMARTY] non-existance variables

From: Date: Tue, 15 Oct 2002 13:46:46 +0000
Subject: Re: [SMARTY] non-existance variables
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6142@lists.php.net to get a copy of this message
At 05:17 14/10/2002 -0400, Pupeno wrote:
For a project I've made, I've used a modified version of Smarty but now I upgraded and modifing again is not a good idea.
Pupeno, Practically speaking, modifying Smarty is not a good thing.. in any case you may want to subclass it, but leave the base class as it is. You may probably want to have a look at functions like : /*======================================================================*\
    Function: trigger_error
    Purpose:  trigger Smarty error
\*======================================================================*/
    function trigger_error($error_msg, $error_type = E_USER_WARNING)
    {
        trigger_error("Smarty error: $error_msg", $error_type);
    }
Luc

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