Filter/Alpha.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Filter
- Version
- $Id$
Package: Zend_Filter- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
boolean $allowWhiteSpace
Whether to allow white space characters; off by default
Details- Type
- boolean
- Deprecated
-
Methods
__construct(boolean $allowWhiteSpace = false) : void
Sets default option values for this instance
ParametersName | Type | Description |
---|
$allowWhiteSpace | boolean | |
---|
filter(string $value) : string
Defined by Zend_Filter_Interface
Returns the string $value, removing all but alphabetic characters
ParametersName | Type | Description |
---|
$value | string | |
---|
ReturnssetAllowWhiteSpace(boolean $allowWhiteSpace) : \Zend_Filter_Alpha
Sets the allowWhiteSpace option
ParametersName | Type | Description |
---|
$allowWhiteSpace | boolean | |
---|
Returns