<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This class captures the encoding practices of CRM-5667 in a reusable
* escaping scheme and consequently remove HTMLInputCoder.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder {
private $skipFields = NULL;
}
/**
- * @param $values
+ * @param array $values
* @param bool $castToString
- *
- * @return mixed|void
*/
public function decodeOutput(&$values, $castToString = FALSE) {
if (is_array($values)) {
$values = str_replace(array('<', '>'), array('<', '>'), $values);
}
}
+
}