Source for file HtmlSpecialchars.php
Documentation is available at HtmlSpecialchars.php
// +----------------------------------------------------------------------+
// | PEAR :: I18Nv2 :: DecoratedList :: HtmlSpecialchars |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is available at http://www.php.net/license/3_0.txt |
// | If you did not receive a copy of the PHP license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
// $Id: HtmlSpecialchars.php,v 1.1 2004/05/05 10:22:22 mike Exp $
require_once 'I18Nv2/DecoratedList.php';
* I18Nv2_Decorator_HtmlSpecialchars
* When you are going to serve XHTML as XML or XHTML+XML then you will get
* problems while displaying umlauts etc. as their HTML entities.
* @author Michael Wallner <mike@php.net>
* @version $Revision: 1.1 $
return htmlSpecialchars ($value, ENT_QUOTES ,
$this->list->getEncoding ());
return array_map(array (&$this, 'decorate'), $value);
Documentation generated on Mon, 11 Mar 2019 13:54:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|