33         $this->tpl = $DIC[
"tpl"];
    34         $this->
ctrl = $DIC->ctrl();
    41         $next_class = $this->
ctrl->getNextClass($this);
    44         $cmd = $this->
ctrl->getCmd();
    46         switch ($next_class) {
    86         $form->setFormAction($ilCtrl->getFormAction($this));
    88             $form->setTitle($this->
lng->txt(
"cont_insert_my_courses"));
    90             $form->setTitle($this->
lng->txt(
"cont_update_my_courses"));
    94         $sort->
setInfo($this->
lng->txt(
"cont_mycourses_sortorder_info")); 
    95         $sort->setRequired(
true);
    96         $form->addItem($sort);
    98         $sort->addOption(
new ilRadioOption($this->
lng->txt(
"cont_mycourses_sortorder_alphabetical"), 
"alpha"));
    99         $sort->addOption(
new ilRadioOption($this->
lng->txt(
"cont_mycourses_sortorder_location"), 
"loc"));
   102             $sort->setValue(
"alpha");
   104             $form->addCommandButton(
"create_my_courses", $this->
lng->txt(
"save"));
   105             $form->addCommandButton(
"cancelCreate", $this->
lng->txt(
"cancel"));
   107             $sort->setValue($this->content_obj->getSorting());
   109             $form->addCommandButton(
"update", $this->
lng->txt(
"save"));
   110             $form->addCommandButton(
"cancelUpdate", $this->
lng->txt(
"cancel"));
   124         if ($form->checkInput()) {
   125             $sort = $form->getInput(
"sort");
   128             $this->content_obj->create($this->pg_obj, $this->hier_id, $this->pc_id);
   129             $this->content_obj->setData($sort);
   130             $this->updated = $this->pg_obj->update();
   131             if ($this->updated === 
true) {
   132                 $this->
ctrl->returnToParent($this, 
"jump" . $this->hier_id);
   136         $form->setValuesByPost();
   143         if ($form->checkInput()) {
   144             $sort = $form->getInput(
"sort");
   145             $this->content_obj->setData($sort);
   146             $this->updated = $this->pg_obj->update();
   147             if ($this->updated === 
true) {
   148                 $this->
ctrl->returnToParent($this, 
"jump" . $this->hier_id);
   152         $this->pg_obj->addHierIDs();
   153         $form->setValuesByPost();
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
initForm($a_insert=false)
 
Content object of ilPageObject (see ILIAS DTD). 
 
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...) 
 
setContent(string $a_html)
Sets content for standard template. 
 
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD) 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilGlobalTemplateInterface $tpl
 
__construct(ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="")
 
edit(ilPropertyFormGUI $a_form=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(Container $dic, ilPlugin $plugin)
 
insert(ilPropertyFormGUI $a_form=null)