Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
Zend_Filter_Alpha Class Reference

Public Member Functions

 __construct ($allowWhiteSpace=false)
 Sets default option values for this instance.
 
 getAllowWhiteSpace ()
 Returns the allowWhiteSpace option.
 
 setAllowWhiteSpace ($allowWhiteSpace)
 Sets the allowWhiteSpace option.
 
 filter ($value)
 Defined by Zend_Filter_Interface.
 

Public Attributes

 $allowWhiteSpace
 

Protected Attributes

 $_locale
 

Static Protected Attributes

static $_unicodeEnabled
 
static $_meansEnglishAlphabet
 

Constructor & Destructor Documentation

__construct (   $allowWhiteSpace = false)

Sets default option values for this instance.

Parameters
boolean$allowWhiteSpace
Returns
void

Member Function Documentation

filter (   $value)

Defined by Zend_Filter_Interface.

Returns the string $value, removing all but alphabetic characters

Parameters
string$value
Returns
string

Implements Zend_Filter_Interface.

getAllowWhiteSpace ( )

Returns the allowWhiteSpace option.

Returns
boolean
setAllowWhiteSpace (   $allowWhiteSpace)

Sets the allowWhiteSpace option.

Parameters
boolean$allowWhiteSpace
Returns
Zend_Filter_Alpha Provides a fluent interface

Member Data Documentation

$_locale
protected
$_meansEnglishAlphabet
staticprotected
$_unicodeEnabled
staticprotected
$allowWhiteSpace