use wcf\system\html\input\filter\IHtmlInputFilter;
use wcf\system\html\input\filter\MessageHtmlInputFilter;
use wcf\system\html\input\node\HtmlInputNodeProcessor;
-use wcf\system\html\input\node\IHtmlInputNodeProcessor;
use wcf\util\StringUtil;
/**
protected $htmlInputFilter;
/**
- * @var IHtmlInputNodeProcessor
+ * @var HtmlInputNodeProcessor
*/
protected $htmlInputNodeProcessor;
}
/**
- * @return IHtmlInputFilter
+ * @return HtmlInputNodeProcessor
*/
- protected function getHtmlInputFilter() {
- if ($this->htmlInputFilter === null) {
- $this->htmlInputFilter = new MessageHtmlInputFilter();
+ public function getHtmlInputNodeProcessor() {
+ if ($this->htmlInputNodeProcessor === null) {
+ $this->htmlInputNodeProcessor = new HtmlInputNodeProcessor();
}
- return $this->htmlInputFilter;
+ return $this->htmlInputNodeProcessor;
}
/**
- * @return IHtmlInputNodeProcessor
+ * @return IHtmlInputFilter
*/
- protected function getHtmlInputNodeProcessor() {
- if ($this->htmlInputNodeProcessor === null) {
- $this->htmlInputNodeProcessor = new HtmlInputNodeProcessor();
+ protected function getHtmlInputFilter() {
+ if ($this->htmlInputFilter === null) {
+ $this->htmlInputFilter = new MessageHtmlInputFilter();
}
- return $this->htmlInputNodeProcessor;
+ return $this->htmlInputFilter;
}
}