isProtected()) return false;
        if(!$input) return false;
        if($this->pattern && !preg_match($this->pattern, $input)) {
            $this->error = true;
            $this->input = $input;
            return false;
        }
        $this->local = conf_encodeString($input, $this->code);
        return true;
    }
    /** @inheritdoc */
    public function html(\admin_plugin_config $plugin, $echo = false) {
        $disable = $this->isProtected() ? 'disabled="disabled"' : '';
        $key = htmlspecialchars($this->key);
        $label = '';
        $input = '';
        return array($label, $input);
    }
}