isSkippedField($fldName); } /** * going to filter the * submitted values across XSS vulnerability. * * @param array|string $values * @param bool $castToString * If TRUE, all scalars will be filtered (and therefore cast to strings). * If FALSE, then non-string values will be preserved */ public static function encodeInput(&$values, $castToString = TRUE) { return CRM_Utils_API_HTMLInputCoder::singleton()->encodeInput($values, $castToString); } }