|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Page Editor GUI class. More...
Collaboration diagram for ilPageEditorGUI: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.
@ilCtrl_Calls ilPageEditorGUI: ilPCParagraphGUI, ilPCTableGUI, ilPCTableDataGUI @ilCtrl_Calls ilPageEditorGUI: ilPCMediaObjectGUI, ilPCListGUI, ilPCListItemGUI @ilCtrl_Calls ilPageEditorGUI: ilPCFileListGUI, ilPCFileItemGUI, ilObjMediaObjectGUI @ilCtrl_Calls ilPageEditorGUI: ilPCSourceCodeGUI, ilInternalLinkGUI, ilPCQuestionGUI @ilCtrl_Calls ilPageEditorGUI: ilPCSectionGUI, ilPCDataTableGUI, ilPCResourcesGUI @ilCtrl_Calls ilPageEditorGUI: ilPCMapGUI, ilPCPluggedGUI, ilPCTabsGUI, IlPCPlaceHolderGUI @ilCtrl_Calls ilPageEditorGUI: ilPCContentIncludeGUI, ilPCLoginPageElementGUI @ilCtrl_Calls ilPageEditorGUI: ilPCInteractiveImageGUI, ilPCProfileGUI, ilPCVerificationGUI @ilCtrl_Calls ilPageEditorGUI: ilPCBlogGUI, ilPCQuestionOverviewGUI, ilPCSkillsGUI @ilCtrl_Calls 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 @access public |
Definition at line 58 of file class.ilPageEditorGUI.php.
References $ilCtrl, $ilias, $lng, $objDefinition, $tpl, and ilLoggerFactory\getLogger().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
checks wether browser is javascript editing capable
Definition at line 478 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
Here is the caller graph for this function:| 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.
| 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().
Here is the call graph for this function:| ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 799 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $cont_obj, $t, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPageEditorGUI::assignCharacteristicForm | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 707 of file class.ilPageEditorGUI.php.
References $_POST, $cont_obj, $lng, $t, $tpl, initCharacteristicForm(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilPageEditorGUI::cancelDeleteSelected | ( | ) |
Cancel deletion.
return
Definition at line 593 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Delete selected items.
Definition at line 602 of file class.ilPageEditorGUI.php.
| 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().
Here is the call graph for this function:| ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 538 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 624 of file class.ilPageEditorGUI.php.
References $_POST, $lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 643 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 893 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| 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(), displayLocator(), exit, getHeader(), ilCOPagePCDef\getPCDefinitionByGUIClassName(), ilCOPagePCDef\getPCDefinitionByType(), ilCOPagePCDef\isPCGUIClassName(), paste(), pasteFromClipboard(), and ilCOPagePCDef\requirePCGUIClassByName().
Here is the call graph for this function:| ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 93 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
Here is the caller graph for this function:| 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, ilPCParagraphGUI\_getCharacteristics(), and ilPCSectionGUI\_getCharacteristics().
Referenced by assignCharacteristicForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 849 of file class.ilPageEditorGUI.php.
References $_GET, and ilEditClipboardGUI\_getSelectedIDs().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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.
| 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.
| 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().
Here is the call graph for this function:| ilPageEditorGUI::$cont_obj |
Definition at line 43 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristic(), assignCharacteristicForm(), and 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().