Class Zend_Filter_HtmlEntities

Description

Implements interfaces:

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Filter/HtmlEntities.php (line 36)


	
			
Variable Summary
 string $_charSet
 integer $_quoteStyle
Method Summary
 void __construct ([integer $quoteStyle = ENT_COMPAT], [string $charSet = 'ISO-8859-1'])
 string filter (string $value)
 string getCharSet ()
 integer getQuoteStyle ()
 Zend_Filter_HtmlEntities setQuoteStyle (integer $quoteStyle)
Variables
string $_charSet (line 50)

Corresponds to third htmlentities() argument

  • access: protected
integer $_quoteStyle (line 43)

Corresponds to second htmlentities() argument

  • access: protected
Methods
Constructor __construct (line 59)

Sets filter options

  • access: public
void __construct ([integer $quoteStyle = ENT_COMPAT], [string $charSet = 'ISO-8859-1'])
  • integer $quoteStyle
  • string $charSet
filter (line 117)

Defined by Zend_Filter_Interface

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

  • access: public
string filter (string $value)
  • string $value

Implementation of:
Zend_Filter_Interface::filter()
Returns the result of filtering $value
getCharSet (line 91)

Returns the charSet option

  • access: public
string getCharSet ()
getQuoteStyle (line 70)

Returns the quoteStyle option

  • access: public
integer getQuoteStyle ()
setCharSet (line 102)

Sets the charSet option

  • return: Provides a fluent interface
  • access: public
Zend_Filter_HtmlEntities setCharSet (string $charSet)
  • string $charSet
setQuoteStyle (line 81)

Sets the quoteStyle option

  • return: Provides a fluent interface
  • access: public
Zend_Filter_HtmlEntities setQuoteStyle (integer $quoteStyle)
  • integer $quoteStyle

Documentation generated on Thu, 18 Jan 2007 10:00:55 -0800 by phpDocumentor 1.3.1