Zend\Filter\HtmlEntities
Synopsis
class HtmlEntities
extends AbstractFilter
{
- // members
- protected int $quoteStyle;
- protected string $encoding;
- protected bool $doubleQuote;
- // Inherited members from AbstractFilter
- protected array $options;
- // methods
- public void __construct()
- public int getQuoteStyle()
- public self setQuoteStyle()
- public string getEncoding()
- public self setEncoding()
- public string getCharSet()
- public self setCharSet()
- public bool getDoubleQuote()
- public self setDoubleQuote()
- public string|mixed filter()
- // Inherited methods from AbstractFilter
- public static bool hasPcreUnicodeSupport()
- public self setOptions()
- public array getOptions()
- public mixed __invoke()
- protected static bool isOptions()
Hierarchy
Extends
Members
protected
- $doubleQuote
—
Zend\Filter\bool
Corresponds to the forth htmlentities() argument - $encoding
—
string
Corresponds to the third htmlentities() argument - $options
—
array
Filter options - $quoteStyle
—
int
Corresponds to the second htmlentities() argument
Methods
public
- __construct() — Sets filter options
- filter() — Defined by Zend\Filter\FilterInterface
- getCharSet() — Returns the charSet option
- getDoubleQuote() — Returns the doubleQuote option
- getEncoding() — Get encoding
- getQuoteStyle() — Returns the quoteStyle option
- setCharSet() — Sets the charSet option
- setDoubleQuote() — Sets the doubleQuote option
- setEncoding() — Set encoding
- setQuoteStyle() — Sets the quoteStyle option
Inherited from Zend\Filter\AbstractFilter
protected
public
- __invoke() — Invoke filter as a command
- getOptions() — Retrieve options representing object state
- hasPcreUnicodeSupport()
- setOptions()