Class Giscuit_Filter_HtmlSpecialChars

Description

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

  • copyright: Copyright (c) 2012 VEC

Located in /Filter/HtmlSpecialChars.php (line 29)


	
			
Variable Summary
 string $_charSet
 integer $_quoteStyle
Method Summary
 __construct ([integer|array $quoteStyle = ENT_QUOTES], [string $charSet = 'UTF-8']) void
 filter (string $value) string
 getCharSet () string
 getQuoteStyle () integer
 setCharSet (string $charSet) Zend_Filter_HtmlEntities
 setQuoteStyle (integer $quoteStyle) Zend_Filter_HtmlEntities
Variables
string $_charSet (line 44)

Corresponds to the third htmlentities() argument

  • access: protected
integer $_quoteStyle (line 37)

Corresponds to the second htmlentities() argument

  • access: protected
Methods
Constructor __construct (line 53)

Sets filter options

  • access: public
void __construct ([integer|array $quoteStyle = ENT_QUOTES], [string $charSet = 'UTF-8'])
  • integer|array $quoteStyle
  • string $charSet
filter (line 112)

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
getCharSet (line 86)

Returns the charSet option

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

Returns the quoteStyle option

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

Sets the charSet option

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

Sets the quoteStyle option

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

Documentation generated on Wed, 28 May 2014 08:33:16 +0000 by phpDocumentor 1.4.3