1 | <?php |
||
24 | class Readable extends AbstractRule |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * @ignore |
||
30 | * |
||
31 | * @var unknown |
||
32 | */ |
||
33 | protected $name = 'readable'; |
||
34 | |||
35 | /** |
||
36 | * |
||
37 | * @ignore |
||
38 | * |
||
39 | * @var unknown |
||
40 | */ |
||
41 | protected $error_message = '{field} has to be readable'; |
||
42 | |||
43 | /** |
||
44 | * (non-PHPdoc) |
||
45 | * |
||
46 | * @see \mithra62\Validate\RuleInterface::validate() |
||
47 | * @ignore |
||
48 | * |
||
49 | */ |
||
50 | public function validate($field, $input, array $params = array()) |
||
58 | } |
||
59 | } |