ILIAS
Release_5_0_x_branch Revision 61816
|
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 | |
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. | |
copySelected () | |
Copy selected items. | |
cutSelected () | |
Cut selected items. | |
paste ($a_hier_id) | |
paste from clipboard (redirects to clipboard) | |
activateSelected () | |
(de-)activate selected items | |
assignCharacteristicForm () | |
Assign characeristic to text blocks/sections. | |
initCharacteristicForm ($a_target, $a_types) | |
Init map creation/update form. | |
assignCharacteristic () | |
Assign characteristic. | |
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 | |
showSnippetInfo () | |
Show snippet info. |
Data Fields | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$objDefinition | |
$page | |
$target_script | |
$return_location | |
$header | |
$tabs | |
$cont_obj | |
$enable_keywords | |
$enable_anchors |
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::_doJSEditing | ( | ) |
checks if current user has activated js editing and if browser is js capable
Definition at line 446 of file class.ilPageEditorGUI.php.
References $ilias, $ilSetting, $ilUser, and _isBrowserJSEditCapable().
Referenced by ilPCDataTableGUI\editData(), ilPCPlaceHolderGUI\insertPCText(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::_isBrowserJSEditCapable | ( | ) |
checks wether browser is javascript editing capable
Definition at line 461 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 476 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 640 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 544 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 757 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 665 of file class.ilPageEditorGUI.php.
References $_POST, $cont_obj, $lng, $t, $tpl, initCharacteristicForm(), and ilUtil\sendFailure().
ilPageEditorGUI::copyLinkedMediaToClipboard | ( | ) |
copy linked media object to clipboard
Definition at line 521 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 533 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 582 of file class.ilPageEditorGUI.php.
References $_POST, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 601 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 481 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
Delete selected items.
Definition at line 557 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 851 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 843 of file class.ilPageEditorGUI.php.
& ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 123 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(), ilCOPagePCDef\requirePCGUIClassByName(), and ilInternalLinkGUI\setMode().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 86 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 53 of file class.ilPageEditorGUI.php.
References $ilCtrl, $ilias, $lng, $objDefinition, and $tpl.
ilPageEditorGUI::initCharacteristicForm | ( | $a_target, | |
$a_types | |||
) |
Init map creation/update form.
Definition at line 712 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 807 of file class.ilPageEditorGUI.php.
References $_GET, and ilEditClipboardGUI\_getSelectedIDs().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 628 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 792 of file class.ilPageEditorGUI.php.
References $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 104 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 76 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 109 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 96 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 489 of file class.ilPageEditorGUI.php.
References $_POST, $ilias, and $ilUser.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 115 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 862 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 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 _doJSEditing(), ilPageEditorGUI(), and setMediaMode().
ilPageEditorGUI::$lng |
Definition at line 35 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristicForm(), copySelected(), cutSelected(), ilPageEditorGUI(), initCharacteristicForm(), and showSnippetInfo().
ilPageEditorGUI::$objDefinition |
Definition at line 37 of file class.ilPageEditorGUI.php.
Referenced by ilPageEditorGUI().
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 assignCharacteristicForm(), ilPageEditorGUI(), and showSnippetInfo().