Re: [SMARTY] unexpected T_EXTENDS
| From: | Monte Ohrt | 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:
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.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