ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$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 | |
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 ilPageEditorGUI: ilPCGridGUI, ilPCGridCellGUI
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 73 of file class.ilPageEditorGUI.php.
References $DIC, $ilCtrl, $lng, $objDefinition, $tpl, array, ilLoggerFactory\getLogger(), and user().
|
static |
checks if current user has activated js editing and if browser is js capable
Definition at line 475 of file class.ilPageEditorGUI.php.
References $DIC, $ilUser, and _isBrowserJSEditCapable().
Referenced by ilPCDataTableGUI\editData(), ilPCPlaceHolderGUI\insertPCText(), and ilPageObjectGUI\showPage().
|
static |
checks wether browser is javascript editing capable
Definition at line 491 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 496 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 686 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 557 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 793 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $cont_obj, $t, and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristicForm | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 709 of file class.ilPageEditorGUI.php.
References $_POST, $cont_obj, $lng, $t, $tpl, array, initCharacteristicForm(), and ilUtil\sendFailure().
ilPageEditorGUI::cancelDeleteSelected | ( | ) |
ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Delete selected items.
Definition at line 614 of file class.ilPageEditorGUI.php.
References $_POST, and $_SESSION.
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 534 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, $user, ilObject\_lookupTitle(), and ilUtil\sendSuccess().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 546 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, and $user.
ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 635 of file class.ilPageEditorGUI.php.
References $_POST, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 652 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 501 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
Confirm.
Definition at line 575 of file class.ilPageEditorGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 884 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 876 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 153 of file class.ilPageEditorGUI.php.
References $_GET, $_POST, $cont_obj, $ctrl, $help, $ilCtrl, $ret, ilObject\_lookupTitle(), array, displayLocator(), exit, getHeader(), ilCOPagePCDef\getPCDefinitionByGUIClassName(), ilCOPagePCDef\getPCDefinitionByType(), ilCOPagePCDef\isPCGUIClassName(), paste(), pasteFromClipboard(), ilCOPagePCDef\requirePCGUIClassByName(), and ilInternalLinkGUI\setFilterWhiteList().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 116 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
ilPageEditorGUI::initCharacteristicForm | ( | $a_target, | |
$a_types | |||
) |
Init map creation/update form.
Definition at line 747 of file class.ilPageEditorGUI.php.
References $ctrl, $ilCtrl, $lng, $options, $t, ilPCSectionGUI\_getCharacteristics(), and ilPCParagraphGUI\_getCharacteristics().
Referenced by assignCharacteristicForm().
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 844 of file class.ilPageEditorGUI.php.
References $_GET, $id, $type, and ilEditClipboardGUI\_getSelectedIDs().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 674 of file class.ilPageEditorGUI.php.
References $ctrl, and $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::pasteFromClipboard | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 821 of file class.ilPageEditorGUI.php.
References $ctrl, and $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 134 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 106 of file class.ilPageEditorGUI.php.
References header.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 139 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 126 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 509 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, and $user.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 145 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 895 of file class.ilPageEditorGUI.php.
References $_POST, $access, $ctrl, $ilCtrl, $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 58 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristic(), assignCharacteristicForm(), and executeCommand().
ilPageEditorGUI::$ctrl |
Definition at line 51 of file class.ilPageEditorGUI.php.
Referenced by deleteSelected(), executeCommand(), initCharacteristicForm(), paste(), pasteFromClipboard(), and showSnippetInfo().
ilPageEditorGUI::$enable_anchors |
Definition at line 60 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$enable_keywords |
Definition at line 59 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$header |
Definition at line 56 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(), assignCharacteristicForm(), copySelected(), cutSelected(), deleteSelected(), initCharacteristicForm(), and showSnippetInfo().
|
protected |
Definition at line 65 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$objDefinition |
Definition at line 52 of file class.ilPageEditorGUI.php.
Referenced by __construct().
ilPageEditorGUI::$page |
Definition at line 53 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$return_location |
Definition at line 55 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tabs |
Definition at line 57 of file class.ilPageEditorGUI.php.
|
protected |
Definition at line 32 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$target_script |
Definition at line 54 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tpl |
Definition at line 49 of file class.ilPageEditorGUI.php.
Referenced by __construct(), assignCharacteristicForm(), deleteSelected(), and showSnippetInfo().
|
protected |
Definition at line 42 of file class.ilPageEditorGUI.php.
Referenced by copyLinkedMediaToClipboard(), copyLinkedMediaToMediaPool(), and setMediaMode().