Hoa central
Public Member Functions | List of all members
Hoa_Filter_Blank Class Reference
Inheritance diagram for Hoa_Filter_Blank:

Public Member Functions

 filter ($string=null)
 
- Public Member Functions inherited from Hoa_Filter_Abstract
 __construct (Array $args=array())
 
 getFilterArgument ($name)
 
 getFilterArguments ()
 
 filter ($string=null)
 

Additional Inherited Members

- Protected Member Functions inherited from Hoa_Filter_Abstract
 _checkArguments ()
 
 getArguments ()
 
- Protected Attributes inherited from Hoa_Filter_Abstract
 $arguments = array()
 

Detailed Description

Definition at line 62 of file Blank.php.

Member Function Documentation

Hoa_Filter_Blank::filter (   $string = null)

Apply a blank filter.

public

Parameters
string$stringThe string to filter.
Returns
string

Definition at line 71 of file Blank.php.

71  {
72 
73  return preg_replace('#[^[:blank:]]#', '', (string) $string);
74  }

The documentation for this class was generated from the following file: