|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilCommonActionDispatcherGUI. More...
Collaboration diagram for ilCommonActionDispatcherGUI:Public Member Functions | |
| __construct ($a_node_type, $a_access_handler, $a_obj_type, $a_node_id, $a_obj_id) | |
| Constructor. | |
| getAjaxHash () | |
| Build ajax hash for current (object/node) properties. | |
| executeCommand () | |
| setSubObject ($a_sub_obj_type, $a_sub_obj_id) | |
| Set sub object attributes. | |
| enableCommentsSettings ($a_value) | |
| Toggle comments settings. | |
| initHeaderAction () | |
| Set header action menu. | |
Static Public Member Functions | |
| static | buildAjaxHash ($a_node_type, $a_node_id, $a_obj_type, $a_obj_id, $a_sub_type=null, $a_sub_id=null) |
| Build ajax hash. | |
| static | getInstanceFromAjaxCall () |
| (Re-)Build instance from ajax call | |
Data Fields | |
| const | TYPE_REPOSITORY = 1 |
| const | TYPE_WORKSPACE = 2 |
Protected Attributes | |
| $obj_type | |
| $node_id | |
| $node_type | |
| $obj_id | |
| $sub_type | |
| $sub_id | |
| $enable_comments_settings | |
Class ilCommonActionDispatcherGUI.
ilCommonActionDispatcherGUI: ilNoteGUI, ilTaggingGUI
Definition at line 14 of file class.ilCommonActionDispatcherGUI.php.
| ilCommonActionDispatcherGUI::__construct | ( | $a_node_type, | |
| $a_access_handler, | |||
| $a_obj_type, | |||
| $a_node_id, | |||
| $a_obj_id | |||
| ) |
Constructor.
| int | $a_node_type | |
| object | $a_access_handler | |
| string | $a_obj_type | |
| int | $a_node_id | |
| int | $a_obj_id |
Definition at line 37 of file class.ilCommonActionDispatcherGUI.php.
|
static |
Build ajax hash.
| int | $a_node_type | |
| int | $a_node_id | |
| string | $a_obj_type | |
| int | $a_obj_id | |
| type | $a_sub_type | |
| type | $a_sub_id |
Definition at line 68 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getAjaxHash(), and ilObjectListGUI\getListItemHTML().
Here is the caller graph for this function:| ilCommonActionDispatcherGUI::enableCommentsSettings | ( | $a_value | ) |
Toggle comments settings.
| bool | $a_value |
Definition at line 210 of file class.ilCommonActionDispatcherGUI.php.
| ilCommonActionDispatcherGUI::executeCommand | ( | ) |
Definition at line 127 of file class.ilCommonActionDispatcherGUI.php.
References $cmd, $ilCtrl, $obj_type, $sub_type, and exit.
| ilCommonActionDispatcherGUI::getAjaxHash | ( | ) |
Build ajax hash for current (object/node) properties.
Definition at line 51 of file class.ilCommonActionDispatcherGUI.php.
References buildAjaxHash().
Referenced by initHeaderAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
(Re-)Build instance from ajax call
Definition at line 79 of file class.ilCommonActionDispatcherGUI.php.
References $_GET, $node_id, $node_type, $obj_id, $obj_type, $sub_id, and $sub_type.
Referenced by ilObjFileGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilInfoScreenGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjForumGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilPDSelectedItemsBlockGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
Here is the caller graph for this function:| ilCommonActionDispatcherGUI::initHeaderAction | ( | ) |
Set header action menu.
Definition at line 218 of file class.ilCommonActionDispatcherGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), ilObjectListGUI\CONTEXT_REPOSITORY, ilObjectListGUI\CONTEXT_WORKSPACE, and getAjaxHash().
Here is the call graph for this function:| ilCommonActionDispatcherGUI::setSubObject | ( | $a_sub_obj_type, | |
| $a_sub_obj_id | |||
| ) |
Set sub object attributes.
| string | $a_sub_obj_type | |
| int | $a_sub_obj_id |
Definition at line 199 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilLMPresentationGUI\addHeaderAction(), and ilObjectGUI\initHeaderAction().
Here is the caller graph for this function:
|
protected |
Definition at line 22 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 17 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 18 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 19 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 16 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
|
protected |
Definition at line 21 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 20 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
| const ilCommonActionDispatcherGUI::TYPE_REPOSITORY = 1 |
Definition at line 24 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilWikiPageGUI\addHeaderAction(), ilLMPresentationGUI\addHeaderAction(), ilObjectListGUI\getListItemHTML(), and ilObjectGUI\initHeaderAction().
| const ilCommonActionDispatcherGUI::TYPE_WORKSPACE = 2 |
Definition at line 25 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObjectListGUI\getListItemHTML(), and ilObject2GUI\initHeaderAction().