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