Re: [SMARTY] unexpected T_EXTENDS

From: Date: Fri, 19 Jul 2002 13:27:27 +0000
Subject: Re: [SMARTY] unexpected T_EXTENDS
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5368@lists.php.net to get a copy of this message
docs are updated. Monte Mark Rogers wrote:
I'm a new user of SMARTY and I'm working my way through the on-line Smarty Manual but have hit a snag on the 'Extended Setup' section:-
Hmm, try:
    class Smarty_GuestBook extends Smarty {
(ie add the "class" keyword). The code you have isn't valid PHP, so it looks like the docs are wrong. Mark Rogers, Quarella Ltd
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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