Filter/WhitespaceToHtml.php

Show: inherited
Table of Contents

\Conjoon_Filter_WhitespaceToHtml

Package: Conjoon\Filter

Parent(s)
?\Zend_Filter_Interface
Author
Thorsten Suckow-Homberg  
Category
Filter  

Methods

methodpublicfilter( mixed $value ) : string

Defined by Zend_Filter_Interface

Returns the text with whitespace-pairs replaced by a pair of "  ".

Will not replace whitespaces that are inside of tags, i.e.

This i
s a test

will become

This  i
s   a test
Parameters
Name Type Description
$value mixed
Returns
Type Description
string
Documentation was generated by DocBlox 0.18.1.