On 19-02-2009 at 07:59:53 <php...@jakeman.plus.com> wrote:

require_once 'PHPTAL.php';
class MyPreFilter implements PHPTAL_Filter {
    public function filter($source){
        return $source;

I thought PHP's "implements" only worked with "interface" but the PHPTAL.php
1_1_15 doesn't use "interface" anywhere, so this is never going to work.
Have I misunderstood or is the manual out of date on this point?

Sorry, manual fails to mention that you need to add require_once 'PHPTAL/Filter.php';
to your code. I'll make that unnecessary in next version of PHPTAL.

regards, Kornel

PHPTAL mailing list

Reply via email to