Class Zend_Filter_StringTrim

Description

Implements interfaces:

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Filter/StringTrim.php (line 36)


	
			
Variable Summary
 string|null $_charList
Method Summary
 void __construct ([string $charList = null])
 string filter (string $value)
 string|null getCharList ()
 Zend_Filter_StringTrim setCharList (string|null $charList)
Variables
string|null $_charList (line 46)

List of characters provided to the trim() function

If this is null, then trim() is called with no specific character list, and its default behavior will be invoked, trimming whitespace.

  • access: protected
Methods
Constructor __construct (line 54)

Sets filter options

  • access: public
void __construct ([string $charList = null])
  • string $charList
filter (line 89)

Defined by Zend_Filter_Interface

Returns the string $value with characters stripped from the beginning and end

  • access: public
string filter (string $value)
  • string $value

Implementation of:
Zend_Filter_Interface::filter()
Returns the result of filtering $value
getCharList (line 64)

Returns the charList option

  • access: public
string|null getCharList ()
setCharList (line 75)

Sets the charList option

  • return: Provides a fluent interface
  • access: public
Zend_Filter_StringTrim setCharList (string|null $charList)
  • string|null $charList

Documentation generated on Thu, 18 Jan 2007 10:01:20 -0800 by phpDocumentor 1.3.1