Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / View / Helper / EscapeHtml.php
blob3e16cf21d013af43cd556c6ee2687b4b5e100b56
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\View\Helper;
12 use Zend\View\Helper\Escaper;
14 /**
15 * Helper for escaping values
17 class EscapeHtml extends Escaper\AbstractHelper
19 /**
20 * Escape a value for current escaping strategy
22 * @param string $value
23 * @return string
25 protected function escape($value)
27 return $this->getEscaper()->escapeHtml($value);