ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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, getActive(), getLinkRefId(), getLinkType(), getObjId(), getTarget(), and getTitle().
ilLMMenuEditor::delete | ( | int | $a_id | ) |
Definition at line 169 of file class.ilLMMenuEditor.php.
|
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().
ilLMMenuEditor::getActive | ( | ) |
Definition at line 111 of file class.ilLMMenuEditor.php.
References $active.
Referenced by create().
ilLMMenuEditor::getEntryId | ( | ) |
Definition at line 61 of file class.ilLMMenuEditor.php.
References $entry_id.
Referenced by update().
ilLMMenuEditor::getLinkRefId | ( | ) |
Definition at line 101 of file class.ilLMMenuEditor.php.
References $link_ref_id.
Referenced by create(), and update().
ilLMMenuEditor::getLinkType | ( | ) |
Definition at line 71 of file class.ilLMMenuEditor.php.
References $link_type.
Referenced by create(), and update().
ilLMMenuEditor::getMenuEntries | ( | bool | $a_only_active = false | ) |
Definition at line 137 of file class.ilLMMenuEditor.php.
Referenced by ilLMMenuItemsTableGUI\__construct().
ilLMMenuEditor::getObjId | ( | ) |
Definition at line 51 of file class.ilLMMenuEditor.php.
References $lm_id.
Referenced by create().
ilLMMenuEditor::getTarget | ( | ) |
Definition at line 91 of file class.ilLMMenuEditor.php.
References $target.
Referenced by create(), and update().
ilLMMenuEditor::getTitle | ( | ) |
Definition at line 81 of file class.ilLMMenuEditor.php.
References $title.
Referenced by create(), and update().
ilLMMenuEditor::readEntry | ( | int | $a_id | ) |
Definition at line 191 of file class.ilLMMenuEditor.php.
References $db, $ilDB, setActive(), setEntryId(), setLinkRefId(), setLinkType(), setTarget(), and setTitle().
ilLMMenuEditor::setActive | ( | string | $a_val | ) |
Definition at line 106 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
ilLMMenuEditor::setEntryId | ( | int | $a_id | ) |
Definition at line 56 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
ilLMMenuEditor::setLinkRefId | ( | int | $a_link_ref_id | ) |
Definition at line 96 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
ilLMMenuEditor::setLinkType | ( | string | $a_link_type | ) |
Definition at line 66 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
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().
ilLMMenuEditor::setTitle | ( | string | $a_title | ) |
Definition at line 76 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
ilLMMenuEditor::update | ( | ) |
Definition at line 178 of file class.ilLMMenuEditor.php.
References $db, $ilDB, getEntryId(), getLinkRefId(), getLinkType(), getTarget(), and getTitle().
ilLMMenuEditor::updateActiveStatus | ( | array | $a_entries | ) |
update active status of all menu entries of lm
Definition at line 216 of file class.ilLMMenuEditor.php.
|
static |
Definition at line 273 of file class.ilLMMenuEditor.php.
References $DIC, and ilDBInterface\update().
Referenced by ilObjContentObject\validatePages().
|
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().