ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Page Editor GUI class. More...
Public Member Functions | |
__construct (ilPageObject $a_page_object, ilPageObjectGUI $a_page_object_gui) | |
setHeader (string $a_header) | |
set header title More... | |
getHeader () | |
returnToContext () | |
setIntLinkReturn (string $a_return) | |
setPageBackTitle (string $a_title) | |
executeCommand () | |
execute command More... | |
activatePage () | |
deactivatePage () | |
setMediaMode () | |
set media and editing mode More... | |
copyLinkedMediaToClipboard () | |
copy linked media object to clipboard More... | |
copyLinkedMediaToMediaPool () | |
copy linked media object to media pool More... | |
addChangeComment () | |
add change comment to history More... | |
delete () | |
Confirm. More... | |
cancelDeleteSelected () | |
confirmedDeleteSelected () | |
copy () | |
Copy selected items. More... | |
cut () | |
Cut selected items. More... | |
paste (string $a_hier_id) | |
paste from clipboard (redirects to clipboard) More... | |
activate () | |
(de-)activate selected items More... | |
characteristic () | |
Assign characeristic to text blocks/sections. More... | |
initCharacteristicForm (array $a_target, array $a_types) | |
Init map creation/update form. More... | |
assignCharacteristic () | |
pasteFromClipboard (string $a_hier_id) | |
paste from clipboard (redirects to clipboard) More... | |
insertFromClipboard () | |
insert object from clipboard More... | |
displayPage () | |
Default for POST reloads and missing. More... | |
showSnippetInfo () | |
Show snippet info. More... | |
Data Fields | |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilObjectDefinition | $objDefinition |
ilPageObject | $page |
string | $target_script = "" |
string | $return_location = "" |
string | $header = "" |
ilPageContent | $cont_obj = null |
bool | $enable_keywords = false |
bool | $enable_anchors = false |
Protected Attributes | |
ServerRequestInterface | $http_request |
EditGUIRequest | $request |
EditSessionRepository | $edit_repo |
ilPageContent | $content_obj |
ilPropertyFormGUI | $form |
string | $page_back_title = "" |
ilPageObjectGUI | $page_gui |
string | $int_link_return = "" |
ilTabsGUI | $tabs_gui |
ilHelpGUI | $help |
ilObjUser | $user |
ilAccessHandler | $access |
ilLogger | $log |
ILIAS DI UIServices | $ui |
ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
string | $requested_hier_id |
string | $requested_pc_id |
string | $requested_pcid |
string | $requested_pl_pc_id |
string | $requested_ctype |
string | $requested_cname |
int | $requested_mob_id |
Page Editor GUI class.
Definition at line 38 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::__construct | ( | ilPageObject | $a_page_object, |
ilPageObjectGUI | $a_page_object_gui | ||
) |
Definition at line 74 of file class.ilPageEditorGUI.php.
References $DIC, $lng, $objDefinition, $tpl, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
ilPageEditorGUI::activate | ( | ) |
(de-)activate selected items
Definition at line 636 of file class.ilPageEditorGUI.php.
References ILIAS\LTI\ToolProvider\$updated, and ILIAS\Repository\ctrl().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 453 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 523 of file class.ilPageEditorGUI.php.
References ilHistory\_createEntry(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Definition at line 735 of file class.ilPageEditorGUI.php.
References ILIAS\LTI\ToolProvider\$updated, and ILIAS\Repository\ctrl().
ilPageEditorGUI::cancelDeleteSelected | ( | ) |
Definition at line 565 of file class.ilPageEditorGUI.php.
References ILIAS\Repository\ctrl().
ilPageEditorGUI::characteristic | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 657 of file class.ilPageEditorGUI.php.
References $lng, $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilPageContent\getType(), initCharacteristicForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Definition at line 570 of file class.ilPageEditorGUI.php.
References ILIAS\LTI\ToolProvider\$updated, and ILIAS\Repository\ctrl().
ilPageEditorGUI::copy | ( | ) |
Copy selected items.
Definition at line 591 of file class.ilPageEditorGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ilLanguage\txt().
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 498 of file class.ilPageEditorGUI.php.
References $ilUser, $user, ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 514 of file class.ilPageEditorGUI.php.
References ILIAS\Repository\ctrl().
ilPageEditorGUI::cut | ( | ) |
Cut selected items.
Definition at line 606 of file class.ilPageEditorGUI.php.
References $lng, ILIAS\LTI\ToolProvider\$updated, ILIAS\Repository\ctrl(), and ilLanguage\txt().
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 458 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::delete | ( | ) |
Confirm.
Definition at line 540 of file class.ilPageEditorGUI.php.
References $ctrl, $lng, $tpl, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 816 of file class.ilPageEditorGUI.php.
References ILIAS\Repository\ctrl().
ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 153 of file class.ilPageEditorGUI.php.
References $cont_obj, $ctrl, $help, $requested_ctype, $requested_hier_id, $requested_pc_id, $requested_pl_pc_id, ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), getHeader(), ilCOPagePCDef\getPCDefinitionByGUIClassName(), ilCOPagePCDef\getPCDefinitionByName(), ilCOPagePCDef\getPCDefinitionByType(), ilPageContent\getType(), ilCOPagePCDef\isPCGUIClassName(), ILIAS\Repository\lng(), paste(), pasteFromClipboard(), ilInternalLinkGUI\setFilterWhiteList(), and ILIAS\Repository\ui().
ilPageEditorGUI::getHeader | ( | ) |
Definition at line 130 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
ilPageEditorGUI::initCharacteristicForm | ( | array | $a_target, |
array | $a_types | ||
) |
Init map creation/update form.
Definition at line 693 of file class.ilPageEditorGUI.php.
References $ctrl, $lng, ilPCParagraphGUI\_getCharacteristics(), ilPCSectionGUI\_getCharacteristics(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilLanguage\txt().
Referenced by characteristic().
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
ilDateTimeException |
Definition at line 781 of file class.ilPageEditorGUI.php.
References $id, $type, ilEditClipboardGUI\_getSelectedIDs(), and ILIAS\Repository\ctrl().
ilPageEditorGUI::paste | ( | string | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 626 of file class.ilPageEditorGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
ilPageEditorGUI::pasteFromClipboard | ( | string | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 757 of file class.ilPageEditorGUI.php.
References $ctrl, and ilCtrl\setParameter().
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
Definition at line 135 of file class.ilPageEditorGUI.php.
References ILIAS\Repository\ctrl().
ilPageEditorGUI::setHeader | ( | string | $a_header | ) |
set header title
Definition at line 125 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | string | $a_return | ) |
Definition at line 140 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 466 of file class.ilPageEditorGUI.php.
References $ilUser, $user, and ILIAS\Repository\ctrl().
ilPageEditorGUI::setPageBackTitle | ( | string | $a_title | ) |
Definition at line 145 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 824 of file class.ilPageEditorGUI.php.
References $access, $ctrl, $lng, $tpl, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilMediaPoolItem\getPoolForItemId(), ilMediaPoolPage\lookupTitle(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 51 of file class.ilPageEditorGUI.php.
Referenced by showSnippetInfo().
ilPageContent ilPageEditorGUI::$cont_obj = null |
Definition at line 60 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 43 of file class.ilPageEditorGUI.php.
ilCtrl ilPageEditorGUI::$ctrl |
Definition at line 54 of file class.ilPageEditorGUI.php.
Referenced by delete(), executeCommand(), initCharacteristicForm(), pasteFromClipboard(), and showSnippetInfo().
|
protected |
Definition at line 42 of file class.ilPageEditorGUI.php.
bool ilPageEditorGUI::$enable_anchors = false |
Definition at line 62 of file class.ilPageEditorGUI.php.
bool ilPageEditorGUI::$enable_keywords = false |
Definition at line 61 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 44 of file class.ilPageEditorGUI.php.
string ilPageEditorGUI::$header = "" |
Definition at line 59 of file class.ilPageEditorGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 49 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 40 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 47 of file class.ilPageEditorGUI.php.
ilLanguage ilPageEditorGUI::$lng |
Definition at line 53 of file class.ilPageEditorGUI.php.
Referenced by __construct(), characteristic(), copy(), cut(), delete(), initCharacteristicForm(), and showSnippetInfo().
|
protected |
Definition at line 63 of file class.ilPageEditorGUI.php.
ilObjectDefinition ilPageEditorGUI::$objDefinition |
Definition at line 55 of file class.ilPageEditorGUI.php.
Referenced by __construct().
ilPageObject ilPageEditorGUI::$page |
Definition at line 56 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 45 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 46 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 41 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 71 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 70 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 66 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 72 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 67 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 68 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 69 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
string ilPageEditorGUI::$return_location = "" |
Definition at line 58 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 48 of file class.ilPageEditorGUI.php.
string ilPageEditorGUI::$target_script = "" |
Definition at line 57 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 65 of file class.ilPageEditorGUI.php.
ilGlobalTemplateInterface ilPageEditorGUI::$tpl |
Definition at line 52 of file class.ilPageEditorGUI.php.
Referenced by __construct(), characteristic(), delete(), and showSnippetInfo().
|
protected |
Definition at line 64 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 50 of file class.ilPageEditorGUI.php.
Referenced by copyLinkedMediaToClipboard(), and setMediaMode().