ILIAS
Release_3_10_x_branch Revision 61812
|
Page Editor GUI class. More...
Public Member Functions | |
ilPageEditorGUI (&$a_page_object, &$a_page_object_gui) | |
Constructor. | |
setHeader ($a_header) | |
set header title | |
getHeader () | |
get header title | |
setLocator (&$a_locator) | |
set locator object | |
returnToContext () | |
redirect to parent context | |
setIntLinkHelpDefault ($a_type, $a_id) | |
setIntLinkReturn ($a_return) | |
setPageBackTitle ($a_title) | |
& | executeCommand () |
execute command | |
_doJSEditing () | |
checks if current user has activated js editing and if browser is js capable | |
_isBrowserJSEditCapable () | |
checks wether browser is javascript editing capable | |
activatePage () | |
deactivatePage () | |
setMediaMode () | |
set media and editing mode | |
copyLinkedMediaToClipboard () | |
copy linked media object to clipboard | |
copyLinkedMediaToMediaPool () | |
copy linked media object to media pool | |
addChangeComment () | |
add change comment to history | |
deleteSelected () | |
delete selected items | |
activateSelected () | |
(de-)activate selected items | |
pasteFromClipboard ($a_hier_id) | |
paste from clipboard (redirects to clipboard) | |
insertFromClipboard () | |
insert object from clipboard | |
displayPage () | |
Default for POST reloads and missing. | |
displayLocator () | |
display locator |
Data Fields | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$objDefinition | |
$page | |
$target_script | |
$return_location | |
$header | |
$tabs | |
$cont_obj |
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
Definition at line 43 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::_doJSEditing | ( | ) |
checks if current user has activated js editing and if browser is js capable
Definition at line 611 of file class.ilPageEditorGUI.php.
References $ilias, $ilSetting, and _isBrowserJSEditCapable().
Referenced by ilInternalLinkGUI\isEnabledJavaScript(), ilInternalLinkGUI\prepareJavascriptOutput(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::_isBrowserJSEditCapable | ( | ) |
checks wether browser is javascript editing capable
Definition at line 627 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 642 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 750 of file class.ilPageEditorGUI.php.
References $_SESSION.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 713 of file class.ilPageEditorGUI.php.
References ilHistory\_createEntry(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 690 of file class.ilPageEditorGUI.php.
References ilObject\_lookupTitle(), and ilUtil\sendInfo().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 702 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 647 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
delete selected items
Definition at line 726 of file class.ilPageEditorGUI.php.
References $_SESSION.
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 817 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 809 of file class.ilPageEditorGUI.php.
& ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 146 of file class.ilPageEditorGUI.php.
References $_GET, $cmd, $cont_obj, $ilCtrl, $ret, ilObject\_lookupTitle(), displayLocator(), getHeader(), and pasteFromClipboard().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 101 of file class.ilPageEditorGUI.php.
References $header.
Referenced by executeCommand().
ilPageEditorGUI::ilPageEditorGUI | ( | & | $a_page_object, |
& | $a_page_object_gui | ||
) |
Constructor.
object | $a_page_object | page object public |
Definition at line 68 of file class.ilPageEditorGUI.php.
References $ilCtrl, $ilias, $lng, $objDefinition, and $tpl.
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 790 of file class.ilPageEditorGUI.php.
References $_GET, and ilPCMediaObject\readMediaObject().
ilPageEditorGUI::pasteFromClipboard | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 775 of file class.ilPageEditorGUI.php.
References $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 119 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 91 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkHelpDefault | ( | $a_type, | |
$a_id | |||
) |
Definition at line 124 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 130 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 111 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 655 of file class.ilPageEditorGUI.php.
References $ilias.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 136 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$cont_obj |
Definition at line 60 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::$ctrl |
Definition at line 53 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$header |
Definition at line 58 of file class.ilPageEditorGUI.php.
Referenced by getHeader().
ilPageEditorGUI::$ilias |
Definition at line 50 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing(), ilPageEditorGUI(), and setMediaMode().
ilPageEditorGUI::$lng |
Definition at line 52 of file class.ilPageEditorGUI.php.
Referenced by ilPageEditorGUI().
ilPageEditorGUI::$objDefinition |
Definition at line 54 of file class.ilPageEditorGUI.php.
Referenced by ilPageEditorGUI().
ilPageEditorGUI::$page |
Definition at line 55 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$return_location |
Definition at line 57 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tabs |
Definition at line 59 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$target_script |
Definition at line 56 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tpl |
Definition at line 51 of file class.ilPageEditorGUI.php.
Referenced by ilPageEditorGUI().