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.
<?php 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 PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal