public function isValid($value) { $this->
_setValue($value);
if (null === self::
$_filter) { /**
* @see Zend_Filter_Digits
*/
self::
$_filter =
new Zend_Filter_Digits();
} $valueFiltered = self::
$_filter->
filter($value);
$length =
strlen($valueFiltered);
if ($length < 13 ||
$length > 19
) { $this->
_error(self::LENGTH
);
return false;
}