예제 #1
0
 /**
  * Protect input and text area's
  */
 function protect(&$string)
 {
     nnProtect::protectForm($string, $this->src_params->protected_tags);
 }
예제 #2
0
 static function protectForm(&$string, $tags = array(), $protected = array())
 {
     require_once __DIR__ . '/protect.php';
     nnProtect::protectForm($string, $tags, $protected);
 }