|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Render add new item selector. More...
Collaboration diagram for ilObjectAddNewItemGUI:Public Member Functions | |
| __construct ($a_parent_ref_id) | |
| Constructor. More... | |
| setMode ($a_mode) | |
| setDisabledObjectTypes (array $a_types) | |
| Set object types which may not be created. More... | |
| setAfterCreationCallback ($a_ref_id) | |
| Set after creation callback. More... | |
| setCreationUrl ($a_url) | |
| Set (custom) url for object creation. More... | |
| render () | |
| Add new item selection to current page incl. More... | |
Protected Member Functions | |
| parsePersonalWorkspace () | |
| Parse creatable sub objects for personal workspace. More... | |
| parseRepository () | |
| Parse creatable sub objects for repository incl. More... | |
| getHTML () | |
| Get rendered html of sub object list. More... | |
Protected Attributes | |
| $lng | |
| $obj_definition | |
| $settings | |
| $access | |
| $ctrl | |
| $toolbar | |
| $tpl | |
| $mode | |
| $parent_ref_id | |
| $disabled_object_types | |
| $sub_objects | |
| $url_creation_callback | |
| $url_creation | |
Render add new item selector.
Definition at line 13 of file class.ilObjectAddNewItemGUI.php.
| ilObjectAddNewItemGUI::__construct | ( | $a_parent_ref_id | ) |
Constructor.
| int | $a_parent_ref_id |
Definition at line 63 of file class.ilObjectAddNewItemGUI.php.
References $DIC, $lng, ilObjectDefinition\MODE_REPOSITORY, and settings().
Here is the call graph for this function:
|
protected |
Get rendered html of sub object list.
Definition at line 294 of file class.ilObjectAddNewItemGUI.php.
References $ctrl, $ilCtrl, $type, $url, $url_creation, $url_creation_callback, ilHelp\getObjCreationTooltipText(), ilUtil\img(), and ilObjectDefinition\MODE_WORKSPACE.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse creatable sub objects for personal workspace.
Grouping is not supported here, order is alphabetical (!)
Definition at line 125 of file class.ilObjectAddNewItemGUI.php.
References $ilSetting, $lng, $obj_definition, $settings, $sub_objects, $type, ilObjectDefinition\MODE_WORKSPACE, and ilUtil\sortArray().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse creatable sub objects for repository incl.
grouping
Definition at line 167 of file class.ilObjectAddNewItemGUI.php.
References $access, $lng, $obj_definition, $sub_objects, $type, ilObject\_lookupType(), ilObjRepositorySettings\getDefaultNewItemGrouping(), ilObjRepositorySettings\getNewItemGroups(), ilObjRepositorySettings\getNewItemGroupSubItems(), ilObjectPlugin\lookupTxtById(), ilObjRepositorySettings\NEW_ITEM_GROUP_TYPE_GROUP, and ilUtil\sortArray().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectAddNewItemGUI::render | ( | ) |
Add new item selection to current page incl.
toolbar (trigger) and overlay
Definition at line 365 of file class.ilObjectAddNewItemGUI.php.
References $lng, $toolbar, $tpl, getHTML(), ilLinkButton\getInstance(), ilObjectDefinition\MODE_WORKSPACE, parsePersonalWorkspace(), parseRepository(), and ilAdvancedSelectionListGUI\STYLE_EMPH.
Here is the call graph for this function:| ilObjectAddNewItemGUI::setAfterCreationCallback | ( | $a_ref_id | ) |
Set after creation callback.
| int | $a_ref_id |
Definition at line 103 of file class.ilObjectAddNewItemGUI.php.
| ilObjectAddNewItemGUI::setCreationUrl | ( | $a_url | ) |
Set (custom) url for object creation.
| string | $a_url |
Definition at line 113 of file class.ilObjectAddNewItemGUI.php.
| ilObjectAddNewItemGUI::setDisabledObjectTypes | ( | array | $a_types | ) |
Set object types which may not be created.
| array | $a_types |
Definition at line 93 of file class.ilObjectAddNewItemGUI.php.
| ilObjectAddNewItemGUI::setMode | ( | $a_mode | ) |
Definition at line 83 of file class.ilObjectAddNewItemGUI.php.
|
protected |
Definition at line 33 of file class.ilObjectAddNewItemGUI.php.
Referenced by parseRepository().
|
protected |
Definition at line 38 of file class.ilObjectAddNewItemGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 52 of file class.ilObjectAddNewItemGUI.php.
|
protected |
Definition at line 18 of file class.ilObjectAddNewItemGUI.php.
Referenced by __construct(), parsePersonalWorkspace(), parseRepository(), and render().
|
protected |
Definition at line 50 of file class.ilObjectAddNewItemGUI.php.
|
protected |
Definition at line 23 of file class.ilObjectAddNewItemGUI.php.
Referenced by parsePersonalWorkspace(), and parseRepository().
|
protected |
Definition at line 51 of file class.ilObjectAddNewItemGUI.php.
|
protected |
Definition at line 28 of file class.ilObjectAddNewItemGUI.php.
Referenced by parsePersonalWorkspace().
|
protected |
Definition at line 53 of file class.ilObjectAddNewItemGUI.php.
Referenced by parsePersonalWorkspace(), and parseRepository().
|
protected |
Definition at line 43 of file class.ilObjectAddNewItemGUI.php.
Referenced by render().
|
protected |
Definition at line 48 of file class.ilObjectAddNewItemGUI.php.
Referenced by render().
|
protected |
Definition at line 55 of file class.ilObjectAddNewItemGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 54 of file class.ilObjectAddNewItemGUI.php.
Referenced by getHTML().