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 / EscapeJs.php
blob590e457bcb2b06645af34bc734cb8f6d49a23330
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 EscapeJs 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()->escapeJs($value);