Confirmation AND validation step
This commit is contained in:
parent
7ab305ef62
commit
ad66d30c23
3 changed files with 22 additions and 44 deletions
|
|
@ -50,6 +50,16 @@ class Question
|
|||
return $q;
|
||||
}
|
||||
|
||||
public function set_validator($val)
|
||||
{
|
||||
$this->validator = $val;
|
||||
}
|
||||
|
||||
public function get_validator()
|
||||
{
|
||||
return $this->validator;
|
||||
}
|
||||
|
||||
public function print_test()
|
||||
{
|
||||
echo 'Cours concerné : ' . $this->course . "<br>";
|
||||
|
|
|
|||
Reference in a new issue