/**
  * @see Form::save()
  */
 public function save()
 {
     parent::save();
     $this->rankID = UserRankEditor::create($this->title, $this->image, $this->groupID, $this->neededPoints, $this->gender, $this->repeatImage);
     $this->saved();
     // reset values
     $this->groupID = Group::getGroupIdByType(Group::USERS);
     $this->neededPoints = $this->gender = 0;
     $this->repeatImage = 1;
     $this->title = $this->image = '';
     // show success message
     WCF::getTPL()->assign('success', true);
 }