import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -17,7 +17,7 @@
* @package Zend_Validate
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Alpha.php 8064 2008-02-16 10:58:39Z thomas $
* @version $Id: Alpha.php 14560 2009-03-31 14:41:22Z thomas $
*/
@ -49,6 +49,7 @@ class Zend_Validate_Alpha extends Zend_Validate_Abstract
* Whether to allow white space characters; off by default
*
* @var boolean
* @depreciated
*/
public $allowWhiteSpace;
@ -80,6 +81,28 @@ class Zend_Validate_Alpha extends Zend_Validate_Abstract
$this->allowWhiteSpace = (boolean) $allowWhiteSpace;
}
/**
* Returns the allowWhiteSpace option
*
* @return boolean
*/
public function getAllowWhiteSpace()
{
return $this->allowWhiteSpace;
}
/**
* Sets the allowWhiteSpace option
*
* @param boolean $allowWhiteSpace
* @return Zend_Filter_Alpha Provides a fluent interface
*/
public function setAllowWhiteSpace($allowWhiteSpace)
{
$this->allowWhiteSpace = (boolean) $allowWhiteSpace;
return $this;
}
/**
* Defined by Zend_Validate_Interface
*