public function testReflectionAPI() { require_once WCF_DIR . 'lib/data/contest/class/ContestClassEditor.class.php'; $this->deleteArray[] = $class = ContestClassEditor::create($title = __METHOD__ . ' title'); $this->callAllMethodsWithoutRequiredParameters($class); }
/** * @see Form::save() */ public function save() { parent::save(); // save $this->contestClass = ContestClassEditor::create($this->topic, $this->text, $this->parentClassID, $this->position, WCF::getLanguage()->getLanguageID()); $this->saved(); // reset values $this->topic = $this->text = $this->parentClassID = ''; $this->languageID = $this->position = 0; // show success message WCF::getTPL()->assign('success', true); }