Exemplo n.º 1
0
 function protect(&$str)
 {
     NNProtect::protectForm($str, array('{' . $this->params->tag, '{/' . $this->params->tag));
 }
Exemplo n.º 2
0
	static function protectForm(&$string, $tags = array(), $protected = array())
	{
		require_once __DIR__ . '/protect.php';
		NNProtect::protectForm($string, $tags, $protected);
	}
Exemplo n.º 3
0
 function protect(&$str)
 {
     NNProtect::protectForm($str, array('{' . $this->params->module_tag, '{' . $this->params->modulepos_tag, '{loadposition'));
 }
Exemplo n.º 4
0
 /**
  * Protect input and text area's
  */
 function protect(&$string)
 {
     NNProtect::protectForm($string, $this->src_params->protected_tags);
 }
Exemplo n.º 5
0
 /**
  * Protect input and text area's
  */
 function protect(&$str)
 {
     NNProtect::protectForm($str, array($this->src_params->syntax_start, $this->src_params->syntax_start_0, $this->src_params->syntax_end));
 }