ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Page Editor GUI class. More...
Public Member Functions | |
__construct (&$a_page_object, &$a_page_object_gui) | |
Constructor. More... | |
setHeader ($a_header) | |
set header title More... | |
getHeader () | |
get header title More... | |
setLocator (&$a_locator) | |
set locator object More... | |
returnToContext () | |
redirect to parent context More... | |
setIntLinkReturn ($a_return) | |
setPageBackTitle ($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 () | |
Cancel deletion. More... | |
confirmedDeleteSelected () | |
Delete selected items. More... | |
copy () | |
Copy selected items. More... | |
cut () | |
Cut selected items. More... | |
paste ($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 ($a_target, $a_types) | |
Init map creation/update form. More... | |
assignCharacteristic () | |
Assign characteristic. More... | |
pasteFromClipboard ($a_hier_id) | |
paste from clipboard (redirects to clipboard) More... | |
insertFromClipboard () | |
insert object from clipboard More... | |
displayPage () | |
Default for POST reloads and missing. More... | |
displayLocator () | |
display locator More... | |
showSnippetInfo () | |
Show snippet info. More... | |
Static Public Member Functions | |
static | _doJSEditing () |
checks if current user has activated js editing and if browser is js capable More... | |
static | _isBrowserJSEditCapable () |
checks wether browser is javascript editing capable More... | |
Data Fields | |
$tpl | |
$lng | |
$ctrl | |
$objDefinition | |
$page | |
$target_script | |
$return_location | |
$header | |
$tabs | |
$cont_obj | |
$enable_keywords | |
$enable_anchors | |
Protected Attributes | |
$tabs_gui | |
$help | |
$user | |
$access | |
$log | |
$ui | |
$request | |
$tool_context | |
Page Editor GUI class.
ilPageEditorGUI: ilPCParagraphGUI, ilPCTableGUI, ilPCTableDataGUI ilPageEditorGUI: ilPCMediaObjectGUI, ilPCListGUI, ilPCListItemGUI ilPageEditorGUI: ilPCFileListGUI, ilPCFileItemGUI, ilObjMediaObjectGUI ilPageEditorGUI: ilPCSourceCodeGUI, ilInternalLinkGUI, ilPCQuestionGUI ilPageEditorGUI: ilPCSectionGUI, ilPCDataTableGUI, ilPCResourcesGUI ilPageEditorGUI: ilPCMapGUI, ilPCPluggedGUI, ilPCTabsGUI, ilPCTabGUI, IlPCPlaceHolderGUI ilPageEditorGUI: ilPCContentIncludeGUI, ilPCLoginPageElementGUI ilPageEditorGUI: ilPCInteractiveImageGUI, ilPCProfileGUI, ilPCVerificationGUI ilPageEditorGUI: ilPCBlogGUI, ilPCQuestionOverviewGUI, ilPCSkillsGUI ilPageEditorGUI: ilPCConsultationHoursGUI, ilPCMyCoursesGUI, ilPCAMDPageListGUI ilPageEditorGUI: ilPCGridGUI, ilPCGridCellGUI, ilPageEditorServerAdapterGUI
Definition at line 27 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::__construct | ( | & | $a_page_object, |
& | $a_page_object_gui | ||
) |
Constructor.
object | $a_page_object | page object public |
Definition at line 91 of file class.ilPageEditorGUI.php.
References $DIC, $lng, $objDefinition, $tpl, ilLoggerFactory\getLogger(), help(), ui(), and user().
|
static |
checks if current user has activated js editing and if browser is js capable
Definition at line 512 of file class.ilPageEditorGUI.php.
References $DIC, $ilUser, and _isBrowserJSEditCapable().
Referenced by ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getActionsDropDown(), ilPCPlaceHolderGUI\insertPCText(), and ilPageObjectGUI\showPage().
|
static |
checks wether browser is javascript editing capable
Definition at line 528 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
ilPageEditorGUI::activate | ( | ) |
(de-)activate selected items
Definition at line 719 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 533 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 594 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 820 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, and ilUtil\stripSlashes().
ilPageEditorGUI::cancelDeleteSelected | ( | ) |
ilPageEditorGUI::characteristic | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 739 of file class.ilPageEditorGUI.php.
References $_POST, $cont_obj, $lng, $tpl, initCharacteristicForm(), and ilUtil\sendFailure().
ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Delete selected items.
Definition at line 653 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::copy | ( | ) |
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 571 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, $user, and ilObject\_lookupTitle().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 583 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, and $user.
ilPageEditorGUI::cut | ( | ) |
Cut selected items.
Definition at line 688 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, and $lng.
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 538 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::delete | ( | ) |
Confirm.
Definition at line 612 of file class.ilPageEditorGUI.php.
References $_POST, $ctrl, $lng, $tpl, and ilUtil\sendInfo().
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 906 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 898 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 176 of file class.ilPageEditorGUI.php.
References $_GET, $_POST, $cont_obj, $ctrl, $help, $ret, ilObject\_lookupTitle(), displayLocator(), exit, getHeader(), ilCOPagePCDef\getPCDefinitionByGUIClassName(), ilCOPagePCDef\getPCDefinitionByName(), ilCOPagePCDef\getPCDefinitionByType(), ilCOPagePCDef\isPCGUIClassName(), paste(), pasteFromClipboard(), ilCOPagePCDef\requirePCGUIClassByName(), ilInternalLinkGUI\setFilterWhiteList(), and ui().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 139 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
ilPageEditorGUI::initCharacteristicForm | ( | $a_target, | |
$a_types | |||
) |
Init map creation/update form.
Definition at line 774 of file class.ilPageEditorGUI.php.
References $ctrl, $lng, ilPCParagraphGUI\_getCharacteristics(), and ilPCSectionGUI\_getCharacteristics().
Referenced by characteristic().
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 860 of file class.ilPageEditorGUI.php.
References $_GET, $type, and ilEditClipboardGUI\_getSelectedIDs().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 707 of file class.ilPageEditorGUI.php.
References $ctrl.
Referenced by executeCommand().
ilPageEditorGUI::pasteFromClipboard | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 837 of file class.ilPageEditorGUI.php.
References $ctrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 157 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 129 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 162 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 149 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 546 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, and $user.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 168 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 917 of file class.ilPageEditorGUI.php.
References $_POST, $access, $ctrl, $lng, $tpl, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilMediaPoolItem\getPoolForItemId(), and ilMediaPoolPage\lookupTitle().
|
protected |
Definition at line 47 of file class.ilPageEditorGUI.php.
Referenced by showSnippetInfo().
ilPageEditorGUI::$cont_obj |
Definition at line 61 of file class.ilPageEditorGUI.php.
Referenced by characteristic(), and executeCommand().
ilPageEditorGUI::$ctrl |
Definition at line 51 of file class.ilPageEditorGUI.php.
Referenced by delete(), executeCommand(), initCharacteristicForm(), paste(), pasteFromClipboard(), and showSnippetInfo().
ilPageEditorGUI::$enable_anchors |
Definition at line 63 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$enable_keywords |
Definition at line 62 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$header |
Definition at line 59 of file class.ilPageEditorGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 37 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::$lng |
Definition at line 50 of file class.ilPageEditorGUI.php.
Referenced by __construct(), characteristic(), copy(), cut(), delete(), initCharacteristicForm(), and showSnippetInfo().
|
protected |
Definition at line 68 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$objDefinition |
Definition at line 52 of file class.ilPageEditorGUI.php.
Referenced by __construct().
ilPageEditorGUI::$page |
Definition at line 56 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 78 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$return_location |
Definition at line 58 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tabs |
Definition at line 60 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 32 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$target_script |
Definition at line 57 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 83 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tpl |
Definition at line 49 of file class.ilPageEditorGUI.php.
Referenced by __construct(), characteristic(), delete(), and showSnippetInfo().
|
protected |
Definition at line 73 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 42 of file class.ilPageEditorGUI.php.
Referenced by copyLinkedMediaToClipboard(), copyLinkedMediaToMediaPool(), and setMediaMode().