|
|
|
@ -35,4 +35,12 @@ class StudentController extends UserController
|
|
|
|
|
$vocab = $mdl->getVocabByName($name);
|
|
|
|
|
echo $twig->render('manageVocabView.html', ['vocabularies' => $vocab]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function memoryChoice(): void {
|
|
|
|
|
global $twig;
|
|
|
|
|
global $user;
|
|
|
|
|
$model = new MdlStudent();
|
|
|
|
|
$voc = $model->getAll();
|
|
|
|
|
echo $twig->render('vocabList.html', ['vocabularies' => $voc, 'userID' => $user->getId(), 'userRole' => $user->getRoles()]);
|
|
|
|
|
}
|
|
|
|
|
}
|