|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilContentPagePageCommandForwarder. More...
Inheritance diagram for ilContentPagePageCommandForwarder:
Collaboration diagram for ilContentPagePageCommandForwarder:Public Member Functions | |
| __construct (ServerRequestInterface $request, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng, ilObjContentPage $parentObject, ilObjUser $actor) | |
| ilContentPagePageCommandForwarder constructor. More... | |
| setIsMediaRequest (bool $isMediaRequest) | |
| onPageUpdate (array $parameters) | |
| addPageTabs () | |
| addUpdateListener (callable $updateListener) | |
| setPresentationMode (string $presentationMode) | |
| forward (string $ctrlLink='') | |
Data Fields | |
| const | PRESENTATION_MODE_EDITING = 'PRESENTATION_MODE_EDITING' |
| presentation mode for authoring More... | |
| const | PRESENTATION_MODE_PRESENTATION = 'PRESENTATION_MODE_PRESENTATION' |
| presentation mode for requesting More... | |
| const | PRESENTATION_MODE_EMBEDDED_PRESENTATION = 'PRESENTATION_MODE_EMBEDDED_PRESENTATION' |
| presentation mode for embedded presentation, e.g. More... | |
| const | PRESENTATION_MODE_PREVIEW = 'PRESENTATION_MODE_PREVIEW' |
Data Fields inherited from ilContentPageObjectConstants | |
| const | OBJ_TYPE = 'copa' |
| const | HTTP_PARAM_PAGE_EDITOR_STYLE_CONTEXT = 'page_editor_style' |
| const | UI_CMD_VIEW = 'view' |
| const | UI_CMD_EDIT = 'edit' |
| const | UI_CMD_UPDATE = 'update' |
| const | UI_CMD_COPAGE_EDIT = 'edit' |
| const | UI_CMD_COPAGE_DOWNLOAD_FILE = 'downloadFile' |
| const | UI_CMD_COPAGE_DISPLAY_FULLSCREEN = 'displayMediaFullscreen' |
| const | UI_CMD_COPAGE_DISPLAY_MEDIA = 'displayMedia' |
| const | UI_CMD_COPAGE_DOWNLOAD_PARAGRAPH = 'download_paragraph' |
| const | UI_CMD_STYLES_EDIT = 'editStyleProperties' |
| const | UI_TAB_ID_CONTENT = 'content' |
| const | UI_TAB_ID_INFO = 'info_short' |
| const | UI_TAB_ID_SETTINGS = 'settings' |
| const | UI_TAB_ID_ICON = 'icon' |
| const | UI_TAB_ID_STYLE = 'style' |
| const | UI_TAB_ID_I18N = 'i18n' |
| const | UI_TAB_ID_LP = 'learning_progress' |
| const | UI_TAB_ID_EXPORT = 'export' |
| const | UI_TAB_ID_PERMISSIONS = 'perm_settings' |
Protected Member Functions | |
| getPageObjectGUI (string $language, bool $isEmbedded=false) | |
| doesPageExistsForLanguage (string $language) | |
| ensurePageObjectExists (string $language) | |
| setBackLinkTab () | |
| buildEditingPageObjectGUI (string $language) | |
| buildPresentationPageObjectGUI (string $language) | |
| buildPreviewPageObjectGUI (string $language) | |
| buildEmbeddedPresentationPageObjectGUI (string $language) | |
Protected Attributes | |
| $presentationMode = self::PRESENTATION_MODE_EDITING | |
| $ctrl | |
| $lng | |
| $tabs | |
| $parentObject | |
| $backUrl = '' | |
| $actor | |
| $updateListeners = [] | |
| $isMediaRequest = false | |
Class ilContentPagePageCommandForwarder.
Definition at line 10 of file class.ilContentPagePageCommandForwarder.php.
| ilContentPagePageCommandForwarder::__construct | ( | ServerRequestInterface | $request, |
| ilCtrl | $ctrl, | ||
| ilTabsGUI | $tabs, | ||
| ilLanguage | $lng, | ||
| ilObjContentPage | $parentObject, | ||
| ilObjUser | $actor | ||
| ) |
ilContentPagePageCommandForwarder constructor.
| ServerRequestInterface | $request | |
| ilCtrl | $ctrl | |
| ilTabsGUI | $tabs | |
| ilLanguage | $lng | |
| ilObjContentPage | $parentObject | |
| ilObjUser | $actor |
Definition at line 55 of file class.ilContentPagePageCommandForwarder.php.
References $actor, $ctrl, $lng, $parentObject, and $tabs.
| ilContentPagePageCommandForwarder::addPageTabs | ( | ) |
Definition at line 98 of file class.ilContentPagePageCommandForwarder.php.
| ilContentPagePageCommandForwarder::addUpdateListener | ( | callable | $updateListener | ) |
| callable | $updateListener |
Definition at line 115 of file class.ilContentPagePageCommandForwarder.php.
|
protected |
| string | $language |
Definition at line 186 of file class.ilContentPagePageCommandForwarder.php.
References ensurePageObjectExists(), getPageObjectGUI(), and setBackLinkTab().
Referenced by forward().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $language |
Definition at line 248 of file class.ilContentPagePageCommandForwarder.php.
References ensurePageObjectExists(), ilObjStyleSheet\getEffectiveContentStyleId(), and getPageObjectGUI().
Referenced by forward().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $language |
Definition at line 209 of file class.ilContentPagePageCommandForwarder.php.
References ensurePageObjectExists(), ilObjStyleSheet\getEffectiveContentStyleId(), and getPageObjectGUI().
Referenced by forward().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 226 of file class.ilContentPagePageCommandForwarder.php.
References ensurePageObjectExists(), ilObjStyleSheet\getEffectiveContentStyleId(), and getPageObjectGUI().
Referenced by forward().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $language |
Definition at line 144 of file class.ilContentPagePageCommandForwarder.php.
References ilPageObject\_exists().
Referenced by ensurePageObjectExists().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $language |
Definition at line 152 of file class.ilContentPagePageCommandForwarder.php.
References doesPageExistsForLanguage().
Referenced by buildEditingPageObjectGUI(), buildEmbeddedPresentationPageObjectGUI(), buildPresentationPageObjectGUI(), and buildPreviewPageObjectGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContentPagePageCommandForwarder::forward | ( | string | $ctrlLink = '' | ) |
| string | $ctrlLink |
| ilCtrlException | |
| ilException |
Definition at line 279 of file class.ilContentPagePageCommandForwarder.php.
References buildEditingPageObjectGUI(), buildEmbeddedPresentationPageObjectGUI(), buildPresentationPageObjectGUI(), buildPreviewPageObjectGUI(), ilObjectTranslation\getInstance(), PRESENTATION_MODE_EDITING, PRESENTATION_MODE_EMBEDDED_PRESENTATION, PRESENTATION_MODE_PRESENTATION, and PRESENTATION_MODE_PREVIEW.
Here is the call graph for this function:
|
protected |
| string | $language | |
| bool | $isEmbedded |
Definition at line 125 of file class.ilContentPagePageCommandForwarder.php.
References ilObjStyleSheet\getEffectiveContentStyleId().
Referenced by buildEditingPageObjectGUI(), buildEmbeddedPresentationPageObjectGUI(), buildPresentationPageObjectGUI(), and buildPreviewPageObjectGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContentPagePageCommandForwarder::onPageUpdate | ( | array | $parameters | ) |
| array<string,mixed> | $parameters |
Definition at line 86 of file class.ilContentPagePageCommandForwarder.php.
|
protected |
Definition at line 166 of file class.ilContentPagePageCommandForwarder.php.
References $backUrl, and ilUtil\stripSlashes().
Referenced by buildEditingPageObjectGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContentPagePageCommandForwarder::setIsMediaRequest | ( | bool | $isMediaRequest | ) |
Definition at line 78 of file class.ilContentPagePageCommandForwarder.php.
References $isMediaRequest.
| ilContentPagePageCommandForwarder::setPresentationMode | ( | string | $presentationMode | ) |
| string | $presentationMode |
Definition at line 268 of file class.ilContentPagePageCommandForwarder.php.
References $presentationMode.
|
protected |
Definition at line 41 of file class.ilContentPagePageCommandForwarder.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilContentPagePageCommandForwarder.php.
Referenced by setBackLinkTab().
|
protected |
Definition at line 31 of file class.ilContentPagePageCommandForwarder.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilContentPagePageCommandForwarder.php.
Referenced by setIsMediaRequest().
|
protected |
Definition at line 33 of file class.ilContentPagePageCommandForwarder.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilContentPagePageCommandForwarder.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilContentPagePageCommandForwarder.php.
Referenced by setPresentationMode().
|
protected |
Definition at line 35 of file class.ilContentPagePageCommandForwarder.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilContentPagePageCommandForwarder.php.
| const ilContentPagePageCommandForwarder::PRESENTATION_MODE_EDITING = 'PRESENTATION_MODE_EDITING' |
presentation mode for authoring
Definition at line 15 of file class.ilContentPagePageCommandForwarder.php.
Referenced by forward().
| const ilContentPagePageCommandForwarder::PRESENTATION_MODE_EMBEDDED_PRESENTATION = 'PRESENTATION_MODE_EMBEDDED_PRESENTATION' |
presentation mode for embedded presentation, e.g.
in a kiosk mode
Definition at line 25 of file class.ilContentPagePageCommandForwarder.php.
Referenced by forward().
| const ilContentPagePageCommandForwarder::PRESENTATION_MODE_PRESENTATION = 'PRESENTATION_MODE_PRESENTATION' |
presentation mode for requesting
Definition at line 20 of file class.ilContentPagePageCommandForwarder.php.
Referenced by forward(), and ilObjContentPageGUI\getContent().
| const ilContentPagePageCommandForwarder::PRESENTATION_MODE_PREVIEW = 'PRESENTATION_MODE_PREVIEW' |
Definition at line 26 of file class.ilContentPagePageCommandForwarder.php.
Referenced by ilObjContentPageGUI\editStyleProperties(), and forward().