category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Sets filter options

__construct($options = array()) : void

Parameters

$options

Defined by Zend_Filter_Interface

filter(string $value) : string

Returns the string $value, converting characters to their corresponding HTML entity equivalents where they exist

inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

string

Returns

string

Returns the charSet option

getCharSet() : string

Proxies to \getEncoding()

Returns

string

Returns the doubleQuote option

getDoubleQuote() : boolean

Returns

boolean

Get encoding

getEncoding() : string

Returns

string

Returns the quoteStyle option

getQuoteStyle() : integer

Returns

integer

Sets the charSet option

setCharSet(string $charSet) : \Zend_Filter_HtmlEntities

Proxies to \setEncoding()

Parameters

$charSet

string

Returns

\Zend_Filter_HtmlEntitiesProvides a fluent interface

Sets the doubleQuote option

setDoubleQuote(boolean $doubleQuote) : \Zend_Filter_HtmlEntities

Parameters

$doubleQuote

boolean

Returns

\Zend_Filter_HtmlEntitiesProvides a fluent interface

Set encoding

setEncoding(string $value) : \Zend_Filter_HtmlEntities

Parameters

$value

string

Returns

\Zend_Filter_HtmlEntities

Sets the quoteStyle option

setQuoteStyle(integer $quoteStyle) : \Zend_Filter_HtmlEntities

Parameters

$quoteStyle

integer

Returns

\Zend_Filter_HtmlEntitiesProvides a fluent interface

 Properties

 

Corresponds to the forth htmlentities() argument

$_doubleQuote : \unknown_type

Default

 

Corresponds to the third htmlentities() argument

$_encoding : string

Default

 

Corresponds to the second htmlentities() argument

$_quoteStyle : integer

Default