ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
deleteSelected () | |
Confirm. More... | |
cancelDeleteSelected () | |
Cancel deletion. More... | |
confirmedDeleteSelected () | |
Delete selected items. More... | |
copySelected () | |
Copy selected items. More... | |
cutSelected () | |
Cut selected items. More... | |
paste ($a_hier_id) | |
paste from clipboard (redirects to clipboard) More... | |
activateSelected () | |
(de-)activate selected items More... | |
assignCharacteristicForm () | |
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 | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$objDefinition | |
$page | |
$target_script | |
$return_location | |
$header | |
$tabs | |
$cont_obj | |
$enable_keywords | |
$enable_anchors | |
Protected Attributes | |
$log | |
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, IlPCPlaceHolderGUI ilPageEditorGUI: ilPCContentIncludeGUI, ilPCLoginPageElementGUI ilPageEditorGUI: ilPCInteractiveImageGUI, ilPCProfileGUI, ilPCVerificationGUI ilPageEditorGUI: ilPCBlogGUI, ilPCQuestionOverviewGUI, ilPCSkillsGUI ilPageEditorGUI: ilPCConsultationHoursGUI, ilPCMyCoursesGUI, ilPCAMDPageListGUI
Definition at line 26 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 58 of file class.ilPageEditorGUI.php.
References $ilCtrl, $ilias, $lng, $objDefinition, $tpl, array, and ilLoggerFactory\getLogger().
|
static |
checks if current user has activated js editing and if browser is js capable
Definition at line 463 of file class.ilPageEditorGUI.php.
References $ilUser, and _isBrowserJSEditCapable().
Referenced by ilInternalLinkGUI\_doJSEditing(), ilPCDataTableGUI\editData(), ilPCPlaceHolderGUI\insertPCText(), and ilPageObjectGUI\showPage().
|
static |
checks wether browser is javascript editing capable
Definition at line 478 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 483 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 682 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 549 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 799 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $t, and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristicForm | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 707 of file class.ilPageEditorGUI.php.
References $_POST, $lng, $t, $tpl, array, initCharacteristicForm(), and ilUtil\sendFailure().
ilPageEditorGUI::cancelDeleteSelected | ( | ) |
ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Delete selected items.
Definition at line 602 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 526 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, ilObject\_lookupTitle(), and ilUtil\sendSuccess().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 538 of file class.ilPageEditorGUI.php.
References $_POST, and $ilUser.
ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 624 of file class.ilPageEditorGUI.php.
References $_POST, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 643 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 488 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
Confirm.
Definition at line 562 of file class.ilPageEditorGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 893 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 885 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 130 of file class.ilPageEditorGUI.php.
References $_GET, $_POST, $cmd, $cont_obj, $ilCtrl, $ret, ilObject\_lookupTitle(), array, displayLocator(), exit, getHeader(), ilCOPagePCDef\getPCDefinitionByGUIClassName(), ilCOPagePCDef\getPCDefinitionByType(), ilCOPagePCDef\isPCGUIClassName(), paste(), pasteFromClipboard(), ilCOPagePCDef\requirePCGUIClassByName(), and ilInternalLinkGUI\setMode().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 93 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
ilPageEditorGUI::initCharacteristicForm | ( | $a_target, | |
$a_types | |||
) |
Init map creation/update form.
Definition at line 754 of file class.ilPageEditorGUI.php.
References $ilCtrl, $lng, $options, $t, ilPCSectionGUI\_getCharacteristics(), and ilPCParagraphGUI\_getCharacteristics().
Referenced by assignCharacteristicForm().
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 849 of file class.ilPageEditorGUI.php.
References $_GET, and ilEditClipboardGUI\_getSelectedIDs().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 670 of file class.ilPageEditorGUI.php.
References $ilCtrl, and ilEditClipboard\setAction().
Referenced by executeCommand().
ilPageEditorGUI::pasteFromClipboard | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 834 of file class.ilPageEditorGUI.php.
References $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 111 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 83 of file class.ilPageEditorGUI.php.
References header.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 116 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 103 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 496 of file class.ilPageEditorGUI.php.
References $_POST, $ilias, and $ilUser.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 122 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 904 of file class.ilPageEditorGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilMediaPoolItem\getPoolForItemId(), and ilMediaPoolPage\lookupTitle().
ilPageEditorGUI::$cont_obj |
Definition at line 43 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::$ctrl |
Definition at line 36 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$enable_anchors |
Definition at line 45 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$enable_keywords |
Definition at line 44 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$header |
Definition at line 41 of file class.ilPageEditorGUI.php.
Referenced by getHeader().
ilPageEditorGUI::$ilias |
Definition at line 33 of file class.ilPageEditorGUI.php.
Referenced by __construct(), and setMediaMode().
ilPageEditorGUI::$lng |
Definition at line 35 of file class.ilPageEditorGUI.php.
Referenced by __construct(), assignCharacteristicForm(), copySelected(), cutSelected(), deleteSelected(), initCharacteristicForm(), and showSnippetInfo().
|
protected |
Definition at line 50 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$objDefinition |
Definition at line 37 of file class.ilPageEditorGUI.php.
Referenced by __construct().
ilPageEditorGUI::$page |
Definition at line 38 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$return_location |
Definition at line 40 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tabs |
Definition at line 42 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$target_script |
Definition at line 39 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tpl |
Definition at line 34 of file class.ilPageEditorGUI.php.
Referenced by __construct(), assignCharacteristicForm(), deleteSelected(), and showSnippetInfo().