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