56         $cmd = $ctrl->
getCmd(
"startExercise");
    58         switch ($next_class) {
    60                 if ($cmd === 
"startExercise") {
    77         $but = $this->
ui->factory()->button()->primary(
    78             $lng->
txt(
"exc_start_exercise"),
    79             $this->
ctrl->getLinkTarget($this, 
"startExercise")
    84         $info_gui->addSection($lng->
txt(
"exc_random_assignment"));
    85         $info_gui->addProperty(
    87             $lng->
txt(
"exc_random_assignment_info")
    89         $info_gui->addProperty(
    90             $lng->
txt(
"exc_rand_overall_ass"),
    91             $this->random_manager->getTotalNumberOfAssignments()
    93         $info_gui->addProperty(
    94             $lng->
txt(
"exc_rand_nr_mandatory"),
    95             $this->random_manager->getNumberOfMandatoryAssignments()
    97         $this->main_tpl->setContent($info_gui->getHTML());
   102         $this->random_manager->startExercise();
   103         $this->
ctrl->redirectByClass(
"ilObjExerciseGUI", 
"showOverview");
 
Mandatory RandomAssignmentsManager $random_manager
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
getCmd(string $fallback_command=null)
 
ilGlobalTemplateInterface $main_tpl
 
Provides fluid interface to RBAC services. 
 
getNextClass($a_gui_class=null)
 
Manages random mandatory assignments of an exercise (business logic) 
 
UI for random assignment (ui) 
 
__construct(UIServices $ui, ilToolbarGUI $toolbar, ilLanguage $lng, ilCtrl $ctrl, Mandatory\RandomAssignmentsManager $random_manager)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
mainTemplate()
Get the ILIAS main template.