ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilCommonActionDispatcherGUI. More...
Public Member Functions | |
__construct ($a_node_type, $a_access_handler, $a_obj_type, $a_node_id, $a_obj_id) | |
Constructor. More... | |
getAjaxHash () | |
Build ajax hash for current (object/node) properties. More... | |
executeCommand () | |
setSubObject ($a_sub_obj_type, $a_sub_obj_id) | |
Set sub object attributes. More... | |
enableCommentsSettings ($a_value) | |
Toggle comments settings. More... | |
setRatingCallback ($a_gui, $a_cmd) | |
Add callback for rating gui. More... | |
initHeaderAction () | |
Set header action menu. More... | |
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. More... | |
static | getInstanceFromAjaxCall () |
(Re-)Build instance from ajax call More... | |
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 | |
$rating_callback | |
Class ilCommonActionDispatcherGUI.
@ilCtrl_Calls ilCommonActionDispatcherGUI: ilNoteGUI, ilTaggingGUI, ilObjectActivationGUI @ilCtrl_Calls ilCommonActionDispatcherGUI: ilRatingGUI
Definition at line 15 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 39 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 70 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilPollBlockGUI\commentJSCall(), getAjaxHash(), ilDataCollectionRecordListTableGUI\getCommentsAjaxLink(), ilObjectListGUI\getListItemHTML(), and ilDataCollectionRecord\getStandardFieldHTML().
ilCommonActionDispatcherGUI::enableCommentsSettings | ( | $a_value | ) |
Toggle comments settings.
bool | $a_value |
Definition at line 247 of file class.ilCommonActionDispatcherGUI.php.
ilCommonActionDispatcherGUI::executeCommand | ( | ) |
Definition at line 131 of file class.ilCommonActionDispatcherGUI.php.
References $_GET, $_REQUEST, $cmd, $ilCtrl, $ilSetting, $obj_type, $sub_type, and exit.
ilCommonActionDispatcherGUI::getAjaxHash | ( | ) |
Build ajax hash for current (object/node) properties.
Definition at line 53 of file class.ilCommonActionDispatcherGUI.php.
References buildAjaxHash().
Referenced by initHeaderAction().
|
static |
(Re-)Build instance from ajax call
Definition at line 81 of file class.ilCommonActionDispatcherGUI.php.
References $_GET, $ilUser, $node_id, $node_type, $obj_id, $obj_type, $sub_id, $sub_type, TYPE_REPOSITORY, and TYPE_WORKSPACE.
Referenced by ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjOrgUnitGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilInfoScreenGUI\executeCommand(), ilPDSelectedItemsBlockGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), and ilRemoteObjectBaseGUI\executeCommand().
ilCommonActionDispatcherGUI::initHeaderAction | ( | ) |
Set header action menu.
Definition at line 266 of file class.ilCommonActionDispatcherGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), ilObjectListGUI\CONTEXT_REPOSITORY, ilObjectListGUI\CONTEXT_WORKSPACE, getAjaxHash(), TYPE_REPOSITORY, and TYPE_WORKSPACE.
ilCommonActionDispatcherGUI::setRatingCallback | ( | $a_gui, | |
$a_cmd | |||
) |
Add callback for rating gui.
object | $a_gui | |
string | $a_cmd |
Definition at line 258 of file class.ilCommonActionDispatcherGUI.php.
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 236 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 23 of file class.ilCommonActionDispatcherGUI.php.
|
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 20 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 17 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
|
protected |
Definition at line 24 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 22 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 21 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
const ilCommonActionDispatcherGUI::TYPE_REPOSITORY = 1 |
Definition at line 26 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObjDataCollectionGUI\addHeaderAction(), ilLMPresentationGUI\addHeaderAction(), ilWikiPageGUI\addHeaderAction(), ilPollBlockGUI\commentJSCall(), getInstanceFromAjaxCall(), ilObjectListGUI\getListItemHTML(), ilObjectGUI\initHeaderAction(), and initHeaderAction().
const ilCommonActionDispatcherGUI::TYPE_WORKSPACE = 2 |
Definition at line 27 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall(), ilObjectListGUI\getListItemHTML(), ilObject2GUI\initHeaderAction(), and initHeaderAction().