Definition at line 33 of file HtmlEntities.php.
◆ __construct()
__construct |
( |
|
$options = array() | ) |
|
Sets filter options
- Parameters
-
integer | array | $quoteStyle | |
string | $charSet | |
- Returns
- void
Definition at line 63 of file HtmlEntities.php.
69 $temp[
'quotestyle'] = array_shift(
$options);
71 $temp[
'charset'] = array_shift(
$options);
77 if (!isset(
$options[
'quotestyle'])) {
88 if (!isset(
$options[
'doublequote'])) {
setQuoteStyle($quoteStyle)
setDoubleQuote($doubleQuote)
◆ filter()
Defined by Zend_Filter_Interface
Returns the string $value, converting characters to their corresponding HTML entity equivalents where they exist
- Parameters
-
- Returns
- string
Implements Zend_Filter_Interface.
Definition at line 198 of file HtmlEntities.php.
201 if (strlen((
string)
$value) && !strlen($filtered)) {
203 #require_once 'Zend/Filter/Exception.php'; 207 $value = iconv(
'', $enc .
'//IGNORE', (
string)
$value);
209 if (!strlen($filtered)) {
210 #require_once 'Zend/Filter/Exception.php';
◆ getCharSet()
◆ getDoubleQuote()
◆ getEncoding()
◆ getQuoteStyle()
◆ setCharSet()
◆ setDoubleQuote()
setDoubleQuote |
( |
|
$doubleQuote | ) |
|
◆ setEncoding()
◆ setQuoteStyle()
setQuoteStyle |
( |
|
$quoteStyle | ) |
|
◆ $_doubleQuote
◆ $_encoding
◆ $_quoteStyle
The documentation for this class was generated from the following file: