/** * @see Form::save() */ public function save() { parent::save(); // save AvatarCategoryEditor::create($this->title, $this->showOrder, $this->groupID, $this->neededPoints); $this->saved(); // reset values $this->title = ''; $this->showOrder = $this->neededPoints = $this->groupID = 0; // show success message WCF::getTPL()->assign('success', true); }