|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (9)
View Page History{zone-data:proposer-list}
[My E-mail Address|mailto:karol@babioch.de]
[~thomas]
{zone-data}
{zone-data:revision}
{zone-data:revision}
1.0 - 31 January 2008: First proposal
1.0 - 04 Oktober 2009
{zone-data}
* This component *will* correctly strip out all repeated spaces, as they are insignificat in some context (e.g. html)
* This component *will* correctly strip out all spaces, when specified
* This component *will* correctly strip out all spaces, when specified
* This component *will* also handle Unicode White Spaces
* This component *will not* remove any other character
{zone-data}
{zone-data}
{zone-data:operation}
You can use this filter just like every other Zend_Filter_*, but you can also specify whether to
strip out all spaces or not by creating a new object (constructor).
strip out all spaces or not by creating a new object (constructor).
Based on the specified options, this filter will strip all, more than one and/or also unicode white spaces.
{zone-data}
class Zend_Filter_StripSpaces
{
{
protected $_stripAllSpaces;
public function __construct($stripAllSpaces __construct($options = false) { }
public function setStripAllSpaces($stripAllSpaces) { }