Hi everyone,

Very impressed by PHPTAL and define-macro and define-slot work well for me.
However now trying to use the Prefilter (as in the manual at
http://phptal.motion-twin.com/manual/en/split/ar06s04.html ). The code
suggested (below) causes my PHP v5 to die.

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?

Thanks, Chris
PHPTAL mailing list

Reply via email to