Пример #1
0
 function protect(&$str)
 {
     NNProtect::protectForm($str, array('{' . $this->params->tag, '{/' . $this->params->tag));
 }
Пример #2
0
	static function protectForm(&$string, $tags = array(), $protected = array())
	{
		require_once __DIR__ . '/protect.php';
		NNProtect::protectForm($string, $tags, $protected);
	}
Пример #3
0
 function protect(&$str)
 {
     NNProtect::protectForm($str, array('{' . $this->params->module_tag, '{' . $this->params->modulepos_tag, '{loadposition'));
 }
Пример #4
0
 /**
  * Protect input and text area's
  */
 function protect(&$string)
 {
     NNProtect::protectForm($string, $this->src_params->protected_tags);
 }
Пример #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));
 }