Re: [SMARTY-GENERAL] Auto hiding
| From: | Gabor Hojtsy | Date: | Fri, 29 Mar 2002 15:03:31 +0000 |
| Subject: | Re: [SMARTY-GENERAL] Auto hiding | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3408@lists.php.net to get a copy of this message | ||
> is there any way to auto hide variables which are not
> assigned, because this default option spit some warnings and
> i don't like this.
Extend smarty to a new class, and redefine fetch() to
turn down error_reporing to default E_ALL ^ E_NOTICE level,
and after fetch, turn it back to E_ALL. You can find code
in the archives as I can remember.
Goba