Example #1
0
 function unprotectTags(&$str)
 {
     NNProtect::unprotectTags($str, $this->params->protected_tags);
 }
 /**
  * replace any protected tags to original
  */
 public static function unprotectForm(&$str, $tags = array(), $protected = array())
 {
     NNProtect::unprotectTags($str, $tags, $protected);
 }
Example #3
0
	/**
	 * replace any protected tags to original
	 */
	public static function unprotectForm(&$str, $tags = array(), $protected = array())
	{
		// Protect entire form
		if (empty($tags))
		{

			NNProtect::unprotect($str);

			return;
		}

		NNProtect::unprotectTags($str, $tags, $protected);
	}
Example #4
0
 function unprotectTags(&$string)
 {
     NNProtect::unprotectTags($string, $this->src_params->protected_tags);
 }