processShortcodes = !!$options["shortcodes"]; } } public function forTemplate() { return $this->RAW(); } public function RAW() { if ($this->processShortcodes) { return ShortcodeParser::get_active()->parse($this->value); } else { return $this->value; } } public function exists() { return parent::exists() && $this->value != '
'; } public function scaffoldFormField($title = null, $params = null) { return new HtmlEditorField($this->name, $title, 1); } public function scaffoldSearchField($title = null) { return new TextField($this->name, $title); } }