Filter/Alpha.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Filter  
Version
$Id: Alpha.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Filter_Alpha

Package: Zend\Filter
Implements
\Zend_Filter_Interface
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Locale $_locale
Locale in browser.
Details
Type
\Zend_Locale
>VPropertyprotectedboolean $_meansEnglishAlphabet
static
The Alphabet means english alphabet.
Details
Type
boolean
>VPropertyprotectedmixed $_unicodeEnabled
static
Is PCRE is compiled with UTF-8 and Unicode support
Details
Type
mixed
>VPropertypublicboolean $allowWhiteSpace
Whether to allow white space characters; off by default
Details
Type
boolean
Deprecated
 

Methods

methodpublic__construct(boolean $allowWhiteSpace = false) : void

Sets default option values for this instance

Parameters
NameTypeDescription
$allowWhiteSpaceboolean
methodpublicfilter(string $value) : string

Defined by Zend_Filter_Interface

Returns the string $value, removing all but alphabetic characters

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
string
Throws
ExceptionDescription
\Zend_Filter_ExceptionIf filtering $value is impossible
methodpublicgetAllowWhiteSpace() : boolean

Returns the allowWhiteSpace option

Returns
TypeDescription
boolean
methodpublicsetAllowWhiteSpace(boolean $allowWhiteSpace) : \Zend_Filter_Alpha

Sets the allowWhiteSpace option

Parameters
NameTypeDescription
$allowWhiteSpaceboolean
Returns
TypeDescription
\Zend_Filter_AlphaProvides a fluent interface
Documentation was generated by phpDocumentor 2.0.0a12.