|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 | |
| $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.
@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, ilPCTabGUI, IlPCPlaceHolderGUI @ilCtrl_Calls ilPageEditorGUI: ilPCContentIncludeGUI, ilPCLoginPageElementGUI @ilCtrl_Calls ilPageEditorGUI: ilPCInteractiveImageGUI, ilPCProfileGUI, ilPCVerificationGUI @ilCtrl_Calls ilPageEditorGUI: ilPCBlogGUI, ilPCQuestionOverviewGUI, ilPCSkillsGUI @ilCtrl_Calls ilPageEditorGUI: ilPCConsultationHoursGUI, ilPCMyCoursesGUI, ilPCAMDPageListGUI @ilCtrl_Calls 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 @access public |
Definition at line 73 of file class.ilPageEditorGUI.php.
References $DIC, $ilCtrl, $lng, $objDefinition, $tpl, ilLoggerFactory\getLogger(), help(), and user().
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 456 of file class.ilPageEditorGUI.php.
References $DIC, $ilUser, and _isBrowserJSEditCapable().
Referenced by 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 472 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
Here is the caller graph for this function:| ilPageEditorGUI::activatePage | ( | ) |
Definition at line 477 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 667 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 538 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 774 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $cont_obj, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPageEditorGUI::assignCharacteristicForm | ( | ) |
Assign characeristic to text blocks/sections.
Definition at line 690 of file class.ilPageEditorGUI.php.
References $_POST, $cont_obj, $lng, $tpl, initCharacteristicForm(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilPageEditorGUI::cancelDeleteSelected | ( | ) |
Cancel deletion.
return
Definition at line 586 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::confirmedDeleteSelected | ( | ) |
Delete selected items.
Definition at line 595 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 515 of file class.ilPageEditorGUI.php.
References $_POST, $ilUser, $user, and ilObject\_lookupTitle().
Here is the call graph for this function:| ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 527 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 616 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 633 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 482 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::deleteSelected | ( | ) |
Confirm.
Definition at line 556 of file class.ilPageEditorGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 865 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 857 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(), displayLocator(), 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 116 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 728 of file class.ilPageEditorGUI.php.
References $ctrl, $ilCtrl, $lng, 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 825 of file class.ilPageEditorGUI.php.
References $_GET, $type, 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 655 of file class.ilPageEditorGUI.php.
References $ctrl, and $ilCtrl.
Referenced by executeCommand().
Here is the caller graph for this function:| ilPageEditorGUI::pasteFromClipboard | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 802 of file class.ilPageEditorGUI.php.
References $ctrl, and $ilCtrl.
Referenced by executeCommand().
Here is the caller graph for this function:| 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.
| 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 490 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 145 of file class.ilPageEditorGUI.php.
| ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 876 of file class.ilPageEditorGUI.php.
References $_POST, $access, $ctrl, $ilCtrl, $lng, $tpl, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilMediaPoolItem\getPoolForItemId(), and ilMediaPoolPage\lookupTitle().
Here is the call graph for this function:
|
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().