Ah, one small thing. The second argument should have a default value, so that it is compatible with the interface - that is, so that you can call it with just one argument. So:
That should work.Code:public function isValid($value, $formData = null) {...}


LinkBack URL
About LinkBacks



Reply With Quote