Class Giscuit_Validate_Phone

Description

Phone validator

  • copyright: Copyright (c) 2012 VEC

Located in /Validate/Phone.php (line 24)

Zend_Validate_Abstract
   |
   --Giscuit_Validate_Phone
Class Constant Summary
 NOT_VALID = 'phoneInvalid'
Variable Summary
Method Summary
 isValid (string $value) boolean
Variables
array $_messageTemplates = array(
self::NOT_VALID => "Phone number '%value%' has invalid format"
)
(line 34)

Validation failure message template definitions

  • access: protected
Methods
isValid (line 46)

Defined by Zend_Validate_Interface

Returns true if and only if $value is has a valid phone format

  • access: public
boolean isValid (string $value)
  • string $value
Class Constants
NOT_VALID = 'phoneInvalid' (line 27)

Documentation generated on Wed, 28 May 2014 08:33:21 +0000 by phpDocumentor 1.4.3