/**
  * @see Form::save()
  */
 public function save()
 {
     parent::save();
     $this->bbcode = BBCodeEditor::create($this->bbcodeTag, $this->htmlOpen, $this->htmlClose, $this->textOpen, $this->textClose, $this->allowedChildren, $this->className, $this->sourceCode, $this->attributes, $this->wysiwyg, $this->wysiwygIcon);
     // reset values
     $this->wysiwyg = 0;
     $this->bbcodeTag = $this->htmlOpen = $this->htmlClose = $this->textOpen = $this->textClose = $this->allowedChildren = $this->className = $this->wysiwygIcon = '';
     $this->attributes = array();
     // delete cache
     WCF::getCache()->clear(WCF_DIR . 'cache', 'cache.bbcodes.php');
     $this->saved();
     // show success message
     WCF::getTPL()->assign('success', true);
 }