ILIAS
Release_4_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 | |
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 | |
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 |
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
Definition at line 24 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::_doJSEditing | ( | ) |
checks if current user has activated js editing and if browser is js capable
Definition at line 601 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 617 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 632 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 792 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 703 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 908 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 816 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 680 of file class.ilPageEditorGUI.php.
References $_POST, ilObject\_lookupTitle(), and ilUtil\sendSuccess().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 692 of file class.ilPageEditorGUI.php.
References $_POST.
ilPageEditorGUI::copySelected | ( | ) |
ilPageEditorGUI::cutSelected | ( | ) |
cut selected items
Definition at line 756 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 637 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
delete selected items
Definition at line 716 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 1002 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 994 of file class.ilPageEditorGUI.php.
& ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 127 of file class.ilPageEditorGUI.php.
References $_GET, $_POST, $cmd, $cont_obj, $ilCtrl, $ret, ilObject\_lookupTitle(), displayLocator(), getHeader(), paste(), and pasteFromClipboard().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 82 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 49 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 863 of file class.ilPageEditorGUI.php.
References $ilCtrl, $lng, $t, ilPCSectionGUI\_getCharacteristics(), and ilPCParagraphGUI\_getCharacteristics().
Referenced by assignCharacteristicForm().
ilPageEditorGUI::insertFromClipboard | ( | ) |
insert object from clipboard
Definition at line 958 of file class.ilPageEditorGUI.php.
References $_GET, $type, ilEditClipboardGUI\_getSelectedIDs(), ilPCContentInclude\create(), and ilPCMediaObject\readMediaObject().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 780 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 943 of file class.ilPageEditorGUI.php.
References $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 100 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 72 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkHelpDefault | ( | $a_type, | |
$a_id | |||
) |
Definition at line 105 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 111 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 92 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 645 of file class.ilPageEditorGUI.php.
References $_POST, and $ilias.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 117 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 1013 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 41 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristic(), assignCharacteristicForm(), and executeCommand().
ilPageEditorGUI::$ctrl |
Definition at line 34 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$header |
Definition at line 39 of file class.ilPageEditorGUI.php.
Referenced by getHeader().
ilPageEditorGUI::$ilias |
Definition at line 31 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing(), ilPageEditorGUI(), and setMediaMode().
ilPageEditorGUI::$lng |
Definition at line 33 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristicForm(), ilPageEditorGUI(), initCharacteristicForm(), and showSnippetInfo().
ilPageEditorGUI::$objDefinition |
Definition at line 35 of file class.ilPageEditorGUI.php.
Referenced by ilPageEditorGUI().
ilPageEditorGUI::$page |
Definition at line 36 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$return_location |
Definition at line 38 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tabs |
Definition at line 40 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$target_script |
Definition at line 37 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::$tpl |
Definition at line 32 of file class.ilPageEditorGUI.php.
Referenced by assignCharacteristicForm(), ilPageEditorGUI(), and showSnippetInfo().