|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
class for editing lm menu More...
Collaboration diagram for ilLMMenuEditor:Public Member Functions | |
| __construct () | |
| setObjId ($a_obj_id) | |
| getObjId () | |
| setEntryId ($a_id) | |
| getEntryId () | |
| setLinkType ($a_link_type) | |
| getLinkType () | |
| setTitle ($a_title) | |
| getTitle () | |
| setTarget ($a_target) | |
| getTarget () | |
| setLinkRefId ($a_link_ref_id) | |
| getLinkRefId () | |
| setActive ($a_val) | |
| Set active. More... | |
| getActive () | |
| Get active. More... | |
| create () | |
| getMenuEntries ($a_only_active=false) | |
| delete ($a_id) | |
| delete menu entry More... | |
| update () | |
| update menu entry More... | |
| readEntry ($a_id) | |
| updateActiveStatus ($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) |
| Fix ref ids on import. More... | |
| static | writeActive ($entry_id, $active) |
| Write status for entry id. More... | |
Protected Attributes | |
| $active = "n" | |
| $db | |
| ilLMMenuEditor::__construct | ( | ) |
Definition at line 41 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::create | ( | ) |
Definition at line 133 of file class.ilLMMenuEditor.php.
References $db, $ilDB, getActive(), getLinkRefId(), getLinkType(), getObjId(), getTarget(), and getTitle().
Here is the call graph for this function:| ilLMMenuEditor::delete | ( | $a_id | ) |
delete menu entry
Definition at line 189 of file class.ilLMMenuEditor.php.
|
static |
Fix ref ids on import.
| int | $new_lm_id | |
| array | $ref_mapping |
Definition at line 272 of file class.ilLMMenuEditor.php.
Referenced by ilLearningModuleImporter\finalProcessing().
Here is the caller graph for this function:| ilLMMenuEditor::getActive | ( | ) |
Get active.
Definition at line 127 of file class.ilLMMenuEditor.php.
References $active.
Referenced by create().
Here is the caller graph for this function:| ilLMMenuEditor::getEntryId | ( | ) |
Definition at line 67 of file class.ilLMMenuEditor.php.
Referenced by update().
Here is the caller graph for this function:| ilLMMenuEditor::getLinkRefId | ( | ) |
Definition at line 107 of file class.ilLMMenuEditor.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLMMenuEditor::getLinkType | ( | ) |
Definition at line 77 of file class.ilLMMenuEditor.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLMMenuEditor::getMenuEntries | ( | $a_only_active = false | ) |
Definition at line 156 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::getObjId | ( | ) |
Definition at line 57 of file class.ilLMMenuEditor.php.
Referenced by create().
Here is the caller graph for this function:| ilLMMenuEditor::getTarget | ( | ) |
Definition at line 97 of file class.ilLMMenuEditor.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLMMenuEditor::getTitle | ( | ) |
Definition at line 87 of file class.ilLMMenuEditor.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLMMenuEditor::readEntry | ( | $a_id | ) |
Definition at line 223 of file class.ilLMMenuEditor.php.
References $db, $ilDB, setActive(), setLinkRefId(), setLinkType(), setTarget(), and setTitle().
Here is the call graph for this function:| ilLMMenuEditor::setActive | ( | $a_val | ) |
Set active.
| string | $a_val |
Definition at line 117 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
Here is the caller graph for this function:| ilLMMenuEditor::setEntryId | ( | $a_id | ) |
Definition at line 62 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::setLinkRefId | ( | $a_link_ref_id | ) |
Definition at line 102 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
Here is the caller graph for this function:| ilLMMenuEditor::setLinkType | ( | $a_link_type | ) |
Definition at line 72 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
Here is the caller graph for this function:| ilLMMenuEditor::setObjId | ( | $a_obj_id | ) |
Definition at line 52 of file class.ilLMMenuEditor.php.
| ilLMMenuEditor::setTarget | ( | $a_target | ) |
Definition at line 92 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
Here is the caller graph for this function:| ilLMMenuEditor::setTitle | ( | $a_title | ) |
Definition at line 82 of file class.ilLMMenuEditor.php.
Referenced by readEntry().
Here is the caller graph for this function:| ilLMMenuEditor::update | ( | ) |
update menu entry
Definition at line 208 of file class.ilLMMenuEditor.php.
References $db, $ilDB, getEntryId(), getLinkRefId(), getLinkType(), getTarget(), and getTitle().
Here is the call graph for this function:| ilLMMenuEditor::updateActiveStatus | ( | $a_entries | ) |
update active status of all menu entries of lm
| array | entry ids |
Definition at line 250 of file class.ilLMMenuEditor.php.
|
static |
Write status for entry id.
| $entry_id | |
| $active |
Definition at line 317 of file class.ilLMMenuEditor.php.
References $active, $db, and $DIC.
Referenced by ilObjContentObject\cloneObject().
Here is the caller graph for this function:
|
protected |
Definition at line 34 of file class.ilLMMenuEditor.php.
Referenced by getActive(), and writeActive().
|
protected |
Definition at line 39 of file class.ilLMMenuEditor.php.
Referenced by create(), delete(), fixImportMenuItems(), getMenuEntries(), readEntry(), update(), updateActiveStatus(), and writeActive().