| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class User extends Zend_Validate_Db_RecordExists |
||
| 11 | { |
||
| 12 | 1 | public function __construct() |
|
| 15 | 1 | } |
|
| 16 | |||
| 17 | /** |
||
| 18 | * Defined by Zend_Validate_Interface |
||
| 19 | * |
||
| 20 | * Returns true if and only if $value contains a valid User ID |
||
| 21 | * |
||
| 22 | * @param int $value |
||
| 23 | * |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | public function isValid($value) |
||
| 31 |