ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilCommonActionDispatcherGUI. More...
Public Member Functions | |
__construct ($a_node_type, $a_access_handler, $a_obj_type, $a_node_id, $a_obj_id, $a_news_id=0) | |
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, $a_news_id=0) |
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 | |
$ctrl | |
$settings | |
$obj_type | |
$node_id | |
$node_type | |
$obj_id | |
$sub_type | |
$sub_id | |
$news_id = 0 | |
$enable_comments_settings | |
$rating_callback | |
Class ilCommonActionDispatcherGUI.
ilCommonActionDispatcherGUI: ilNoteGUI, ilTaggingGUI, ilObjectActivationGUI 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, | |||
$a_news_id = 0 |
|||
) |
Constructor.
int | $a_node_type | |
object | $a_access_handler | |
string | $a_obj_type | |
int | $a_node_id | |
int | $a_obj_id |
Definition at line 55 of file class.ilCommonActionDispatcherGUI.php.
References $DIC, and settings().
|
static |
Build ajax hash.
int | $a_node_type | |
int | $a_node_id | |
string | $a_obj_type | |
int | $a_obj_id | |
string | $a_sub_type | |
int | $a_sub_id |
Definition at line 98 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilPollBlockGUI\commentJSCall(), ilDclRecordListTableGUI\getCommentsAjaxLink(), ilQuestionBrowserTableGUI\getCommentsAjaxLink(), ilNoteGUI\getCommentsWidget(), ilObjectListGUI\getListItemHTML(), ilDclBaseRecordModel\getStandardFieldHTML(), and ilContainerContentGUI\renderCard().
ilCommonActionDispatcherGUI::enableCommentsSettings | ( | $a_value | ) |
Toggle comments settings.
bool | $a_value |
Definition at line 271 of file class.ilCommonActionDispatcherGUI.php.
ilCommonActionDispatcherGUI::executeCommand | ( | ) |
Definition at line 165 of file class.ilCommonActionDispatcherGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilSetting, $obj_type, $settings, $sub_type, and exit.
ilCommonActionDispatcherGUI::getAjaxHash | ( | ) |
Build ajax hash for current (object/node) properties.
Definition at line 74 of file class.ilCommonActionDispatcherGUI.php.
Referenced by initHeaderAction().
|
static |
(Re-)Build instance from ajax call
Definition at line 116 of file class.ilCommonActionDispatcherGUI.php.
References $_GET, $DIC, $ilUser, $news_id, $node_id, $node_type, $obj_id, $obj_type, $sub_id, $sub_type, and $tree.
Referenced by ilRemoteObjectBaseGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjOrgUnitGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilInfoScreenGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilObjChatroomGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjLearningSequenceGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjForumGUI\executeCommand(), ilPDSelectedItemsBlockGUI\executeCommand(), ilObjContentPageGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilCommonActionDispatcherGUI::initHeaderAction | ( | ) |
Set header action menu.
Definition at line 290 of file class.ilCommonActionDispatcherGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), ilObjectListGUI\CONTEXT_REPOSITORY, ilObjectListGUI\CONTEXT_WORKSPACE, and getAjaxHash().
ilCommonActionDispatcherGUI::setRatingCallback | ( | $a_gui, | |
$a_cmd | |||
) |
Add callback for rating gui.
object | $a_gui | |
string | $a_cmd |
Definition at line 282 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 260 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilLMPresentationGUI\addHeaderAction(), assQuestionGUI\getHeaderAction(), and ilObjectGUI\initHeaderAction().
|
protected |
Definition at line 20 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 39 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 37 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 28 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 29 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 30 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 27 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
|
protected |
Definition at line 40 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 25 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 32 of file class.ilCommonActionDispatcherGUI.php.
Referenced by getInstanceFromAjaxCall().
|
protected |
Definition at line 31 of file class.ilCommonActionDispatcherGUI.php.
Referenced by executeCommand(), and getInstanceFromAjaxCall().
const ilCommonActionDispatcherGUI::TYPE_REPOSITORY = 1 |
Definition at line 42 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilWikiPageGUI\addHeaderAction(), ilObjDataCollectionGUI\addHeaderAction(), ilLMPresentationGUI\addHeaderAction(), ilPollBlockGUI\commentJSCall(), ilNoteGUI\getCommentsWidget(), assQuestionGUI\getHeaderAction(), ilObjectListGUI\getListItemHTML(), ilObjectGUI\initHeaderAction(), and ilContainerContentGUI\renderCard().
const ilCommonActionDispatcherGUI::TYPE_WORKSPACE = 2 |
Definition at line 43 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObjectListGUI\getListItemHTML(), and ilObject2GUI\initHeaderAction().