Perforce Chronicle 2012.2/486814
API Documentation

P4Cms_Filter_HtmlSpecialChars Class Reference

Extended Zend_Filter_HtmlEntities to filter value by using PHP htmlspecialchars function. More...

List of all members.

Public Member Functions

 filter ($value)
 Overwrite parent method to convert applicable characters by using htmlspecialchars function instead of htmlentities function.

Detailed Description

Extended Zend_Filter_HtmlEntities to filter value by using PHP htmlspecialchars function.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

P4Cms_Filter_HtmlSpecialChars::filter ( value)

Overwrite parent method to convert applicable characters by using htmlspecialchars function instead of htmlentities function.

Parameters:
string$valueValue to filter.
Returns:
string Filtered value.
    {
        return htmlspecialchars((string) $value, $this->getQuoteStyle(), $this->getEncoding(), $this->getDoubleQuote());
    }

The documentation for this class was generated from the following file: