You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
357 B
21 lines
357 B
<?php
|
|
|
|
namespace Controller;
|
|
|
|
use Model\ModelCandidate;
|
|
|
|
class ControllerCandidate
|
|
{
|
|
public function goToForm(): void
|
|
{
|
|
global $rep, $views;
|
|
$html = (new ModelCandidate())->getForm();
|
|
|
|
require_once($rep.$views['form']);
|
|
}
|
|
|
|
public function submitForm(): void
|
|
{
|
|
(new ModelCandidate())->submitForm();
|
|
}
|
|
} |