ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilCommonActionDispatcherGUI. More...
Public Member Functions | |
__construct (int $node_type, $access_handler, string $obj_type, int $node_id, int $obj_id, int $news_id=0) | |
getAjaxHash () | |
Build ajax hash for current (object/node) properties. More... | |
executeCommand () | |
setSubObject (?string $sub_obj_type, ?int $sub_obj_id) | |
Set sub object attributes. More... | |
enableCommentsSettings (bool $value) | |
Toggle comments settings. More... | |
setRatingCallback (object $gui, string $cmd) | |
Add callback for rating gui. More... | |
initHeaderAction () | |
Set header action menu. More... | |
Static Public Member Functions | |
static | buildAjaxHash (int $node_type, ?int $node_id, string $obj_type, int $obj_id, ?string $sub_type=null, ?int $sub_id=null, int $news_id=0) |
Build ajax hash. More... | |
static | removeSubObjFromAjaxHash (string $hash) |
static | getInstanceFromAjaxCall () |
(Re-)Build instance from ajax call More... | |
Data Fields | |
const | TYPE_REPOSITORY = 1 |
const | TYPE_WORKSPACE = 2 |
Protected Attributes | |
ilCtrl | $ctrl |
ilSetting | $settings |
ILIAS HTTP Wrapper RequestWrapper | $request_wrapper |
ILIAS Refinery Factory | $refinery |
int | $node_type = 0 |
$access_handler | |
string | $obj_type = "" |
int | $node_id = 0 |
int | $obj_id = 0 |
int | $news_id = 0 |
string | $sub_type = null |
int | $sub_id = null |
bool | $enable_comments_settings = false |
array | $rating_callback = [] |
Private Attributes | |
ilObjectRequestRetriever | $retriever |
Class ilCommonActionDispatcherGUI.
Definition at line 28 of file class.ilCommonActionDispatcherGUI.php.
ilCommonActionDispatcherGUI::__construct | ( | int | $node_type, |
$access_handler, | |||
string | $obj_type, | ||
int | $node_id, | ||
int | $obj_id, | ||
int | $news_id = 0 |
||
) |
Definition at line 54 of file class.ilCommonActionDispatcherGUI.php.
References $access_handler, $DIC, $news_id, $node_id, $node_type, $obj_id, $obj_type, ILIAS\Repository\ctrl(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
|
static |
Build ajax hash.
Definition at line 97 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilPollCommentsHandler\buildAjaxHashForPoll(), getAjaxHash(), ilDclRecordListTableGUI\getCommentJsLinkCode(), ilQuestionBrowserTableGUI\getCommentsAjaxLink(), ilNoteGUI\getGlyph(), ilNoteGUI\getNumber(), ilDclBaseRecordModel\getStandardFieldHTML(), ilNoteGUI\getTriggerShyButton(), and ilNoteGUI\getWidget().
ilCommonActionDispatcherGUI::enableCommentsSettings | ( | bool | $value | ) |
Toggle comments settings.
Definition at line 276 of file class.ilCommonActionDispatcherGUI.php.
ilCommonActionDispatcherGUI::executeCommand | ( | ) |
Definition at line 176 of file class.ilCommonActionDispatcherGUI.php.
References ILIAS\Repository\ctrl(), exit, and ILIAS\Repository\settings().
ilCommonActionDispatcherGUI::getAjaxHash | ( | ) |
Build ajax hash for current (object/node) properties.
Definition at line 81 of file class.ilCommonActionDispatcherGUI.php.
References buildAjaxHash().
|
static |
(Re-)Build instance from ajax call
Definition at line 125 of file class.ilCommonActionDispatcherGUI.php.
References $DIC, $parts, ILIAS\UI\examples\Layout\Page\Standard\$refinery, ILIAS\UI\examples\Layout\Page\Standard\$request_wrapper, and ILIAS\Repository\int().
Referenced by ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjChatroomGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilDashboardBlockGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilInfoScreenGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilLMPresentationGUI\executeCommand(), ilObjLearningSequenceGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilPDNewsGUI\executeCommand(), ilObjOrgUnitGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilRemoteObjectBaseGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilWikiPageGUI\executeCommand(), and ilObjWorkspaceFolderGUI\executeCommand().
ilCommonActionDispatcherGUI::initHeaderAction | ( | ) |
Set header action menu.
Definition at line 292 of file class.ilCommonActionDispatcherGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), ilObjectListGUI\CONTEXT_REPOSITORY, and ilObjectListGUI\CONTEXT_WORKSPACE.
|
static |
Definition at line 112 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObjectListGUI\getHeaderAction().
ilCommonActionDispatcherGUI::setRatingCallback | ( | object | $gui, |
string | $cmd | ||
) |
Add callback for rating gui.
Definition at line 284 of file class.ilCommonActionDispatcherGUI.php.
ilCommonActionDispatcherGUI::setSubObject | ( | ?string | $sub_obj_type, |
?int | $sub_obj_id | ||
) |
Set sub object attributes.
Definition at line 267 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 42 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 50 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 46 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilCommonActionDispatcherGUI.php.
Referenced by __construct().
|
protected |
Definition at line 51 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 36 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 35 of file class.ilCommonActionDispatcherGUI.php.
|
private |
Definition at line 52 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 34 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 49 of file class.ilCommonActionDispatcherGUI.php.
|
protected |
Definition at line 48 of file class.ilCommonActionDispatcherGUI.php.
const ilCommonActionDispatcherGUI::TYPE_REPOSITORY = 1 |
Definition at line 30 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObjDataCollectionGUI\addHeaderAction(), ilPollCommentsHandler\buildAjaxHashForPoll(), ilObjChatroomGUI\createActionDispatcherGUI(), ilObjectGUI\createActionDispatcherGUI(), ilNoteGUI\getGlyph(), assQuestionGUI\getHeaderAction(), ilNoteGUI\getNumber(), ilNoteGUI\getTriggerShyButton(), and ilNoteGUI\getWidget().
const ilCommonActionDispatcherGUI::TYPE_WORKSPACE = 2 |
Definition at line 31 of file class.ilCommonActionDispatcherGUI.php.
Referenced by ilObject2GUI\initHeaderAction().