Class Zend_Validate_Digits

Description
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Validate/Digits.php (line 36)

Zend_Validate_Abstract
   |
   --Zend_Validate_Digits
Class Constant Summary
 NOT_DIGITS = 'notDigits'
Variable Summary
Method Summary
 boolean isValid (string $value)
Variables
array $_messageTemplates = array(
self::NOT_DIGITS => "'%value%' contains not only digit characters"
)
(line 44)
  • access: protected

Redefinition of:
Zend_Validate_Abstract::$_messageTemplates

Inherited Variables

Inherited from Zend_Validate_Abstract

Zend_Validate_Abstract::$_errors
Zend_Validate_Abstract::$_messages
Zend_Validate_Abstract::$_messageVariables
Zend_Validate_Abstract::$_value
Methods
isValid (line 56)

Defined by Zend_Validate_Interface

Returns true if and only if $value only contains digit characters

  • access: public
boolean isValid (string $value)
  • string $value

Inherited Methods

Inherited From Zend_Validate_Abstract

 Zend_Validate_Abstract::getErrors()
 Zend_Validate_Abstract::getMessages()
 Zend_Validate_Abstract::setMessage()
 Zend_Validate_Abstract::setMessages()
 Zend_Validate_Abstract::_createMessage()
 Zend_Validate_Abstract::_error()
 Zend_Validate_Abstract::_setValue()
 Zend_Validate_Abstract::__get()
Class Constants
NOT_DIGITS = 'notDigits' (line 39)

Documentation generated on Sun, 27 May 2007 23:22:42 -0700 by phpDocumentor 1.3.2