| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilLMMenuEditor:Public Member Functions | |
| __construct () | |
| setObjId (int $a_obj_id) | |
| getObjId () | |
| setEntryId (int $a_id) | |
| getEntryId () | |
| setLinkType (string $a_link_type) | |
| getLinkType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setTarget (string $a_target) | |
| getTarget () | |
| setLinkRefId (int $a_link_ref_id) | |
| getLinkRefId () | |
| setActive (string $a_val) | |
| getActive () | |
| create () | |
| getMenuEntries (bool $a_only_active=false) | |
| delete (int $a_id) | |
| update () | |
| readEntry (int $a_id) | |
| updateActiveStatus (array $a_entries) | |
| update active status of all menu entries of lm  More... | |
Static Public Member Functions | |
| static | fixImportMenuItems (int $new_lm_id, array $ref_mapping) | 
| static | writeActive (int $entry_id, bool $active) | 
Protected Attributes | |
| string | $target = "" | 
| string | $title = "" | 
| int | $entry_id = 0 | 
| int | $lm_id = 0 | 
| int | $link_ref_id | 
| string | $link_type | 
| string | $active = "n" | 
| ilDBInterface | $db | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning class for editing lm menu
Definition at line 24 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::__construct | ( | ) | 
Definition at line 35 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::create | ( | ) | 
Definition at line 117 of file class.ilLMMenuEditor.php.
References $db, $id, $ilDB, $q, getActive(), getLinkRefId(), getLinkType(), getObjId(), getTarget(), and getTitle().
 Here is the call graph for this function:| ilLMMenuEditor::delete | ( | int | $a_id | ) | 
      
  | 
  static | 
Definition at line 232 of file class.ilLMMenuEditor.php.
References $DIC, $ref_id, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\manipulateF(), ilDBInterface\queryF(), and ilDBInterface\update().
Referenced by ilLearningModuleImporter\finalProcessing().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilLMMenuEditor::getActive | ( | ) | 
Definition at line 111 of file class.ilLMMenuEditor.php.
References $active.
Referenced by create().
 Here is the caller graph for this function:| ilLMMenuEditor::getEntryId | ( | ) | 
Definition at line 61 of file class.ilLMMenuEditor.php.
References $entry_id.
Referenced by update().
 Here is the caller graph for this function:| ilLMMenuEditor::getLinkRefId | ( | ) | 
Definition at line 101 of file class.ilLMMenuEditor.php.
References $link_ref_id.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilLMMenuEditor::getLinkType | ( | ) | 
Definition at line 71 of file class.ilLMMenuEditor.php.
References $link_type.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilLMMenuEditor::getMenuEntries | ( | bool | $a_only_active = false | ) | 
Definition at line 137 of file class.ilLMMenuEditor.php.
References $db, $ilDB, $q, and $r.
Referenced by ilLMMenuItemsTableGUI\__construct().
 Here is the caller graph for this function:| ilLMMenuEditor::getObjId | ( | ) | 
Definition at line 51 of file class.ilLMMenuEditor.php.
References $lm_id.
Referenced by create().
 Here is the caller graph for this function:| ilLMMenuEditor::getTarget | ( | ) | 
Definition at line 91 of file class.ilLMMenuEditor.php.
References $target.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilLMMenuEditor::getTitle | ( | ) | 
Definition at line 81 of file class.ilLMMenuEditor.php.
References $title.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilLMMenuEditor::readEntry | ( | int | $a_id | ) | 
Definition at line 191 of file class.ilLMMenuEditor.php.
References $db, $ilDB, $q, $r, setActive(), setEntryId(), setLinkRefId(), setLinkType(), setTarget(), and setTitle().
 Here is the call graph for this function:| ilLMMenuEditor::setActive | ( | string | $a_val | ) | 
Definition at line 106 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::setEntryId | ( | int | $a_id | ) | 
Definition at line 56 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::setLinkRefId | ( | int | $a_link_ref_id | ) | 
Definition at line 96 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::setLinkType | ( | string | $a_link_type | ) | 
Definition at line 66 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::setObjId | ( | int | $a_obj_id | ) | 
Definition at line 46 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::setTarget | ( | string | $a_target | ) | 
Definition at line 86 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::setTitle | ( | string | $a_title | ) | 
Definition at line 76 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
 Here is the caller graph for this function:| ilLMMenuEditor::update | ( | ) | 
Definition at line 178 of file class.ilLMMenuEditor.php.
References $db, $ilDB, $q, getEntryId(), getLinkRefId(), getLinkType(), getTarget(), and getTitle().
 Here is the call graph for this function:| ilLMMenuEditor::updateActiveStatus | ( | array | $a_entries | ) | 
update active status of all menu entries of lm
Definition at line 216 of file class.ilLMMenuEditor.php.
References $db, $ilDB, and $q.
      
  | 
  static | 
Definition at line 273 of file class.ilLMMenuEditor.php.
References $DIC, and ilDBInterface\update().
Referenced by ilObjContentObject\validatePages().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 32 of file class.ilLMMenuEditor.php.
Referenced by getActive().
      
  | 
  protected | 
Definition at line 33 of file class.ilLMMenuEditor.php.
Referenced by create(), delete(), getMenuEntries(), readEntry(), update(), and updateActiveStatus().
      
  | 
  protected | 
Definition at line 28 of file class.ilLMMenuEditor.php.
Referenced by getEntryId().
      
  | 
  protected | 
Definition at line 30 of file class.ilLMMenuEditor.php.
Referenced by getLinkRefId().
      
  | 
  protected | 
Definition at line 31 of file class.ilLMMenuEditor.php.
Referenced by getLinkType().
      
  | 
  protected | 
Definition at line 29 of file class.ilLMMenuEditor.php.
Referenced by getObjId().
      
  | 
  protected | 
Definition at line 26 of file class.ilLMMenuEditor.php.
Referenced by getTarget().
      
  | 
  protected | 
Definition at line 27 of file class.ilLMMenuEditor.php.
Referenced by getTitle().