Exemplo n.º 1
0
 public function create()
 {
     Assert::isTrue(IntelliForm::submitted(true), 'The form was not submitted.');
     Assert::isTrue($this->checkFormValues() && $this->processForm(), 'The form data has not been processed correctly.');
     // Back to homepage...
     $this->getRouter()->forward(DEFAULT_CONTROLLER, DEFAULT_ACTION);
 }