ILIAS
Release_4_1_x_branch Revision 61804
|
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) | |
setEnableInternalLinks ($a_val) | |
Set enable internal links. | |
getEnableInternalLinks () | |
Get enable internal links. | |
setEnableKeywords ($a_val) | |
Set enable keywords handling. | |
getEnableKeywords () | |
Get enable keywords handling. | |
setEnableAnchors ($a_val) | |
Set enable anchors. | |
getEnableAnchors () | |
Get enable anchors. | |
& | 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
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 673 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 689 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 704 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 864 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 775 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 980 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 888 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 752 of file class.ilPageEditorGUI.php.
References $_POST, ilObject\_lookupTitle(), and ilUtil\sendSuccess().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 764 of file class.ilPageEditorGUI.php.
References $_POST.
ilPageEditorGUI::copySelected | ( | ) |
ilPageEditorGUI::cutSelected | ( | ) |
cut selected items
Definition at line 828 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 709 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
delete selected items
Definition at line 788 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 1074 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 1066 of file class.ilPageEditorGUI.php.
& ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 187 of file class.ilPageEditorGUI.php.
References $_GET, $_POST, $cmd, $cont_obj, $ilCtrl, $ret, ilObject\_lookupTitle(), displayLocator(), getEnableAnchors(), getEnableInternalLinks(), getEnableKeywords(), getHeader(), paste(), and pasteFromClipboard().
ilPageEditorGUI::getEnableAnchors | ( | ) |
Get enable anchors.
Definition at line 179 of file class.ilPageEditorGUI.php.
References $enable_anchors.
Referenced by executeCommand().
ilPageEditorGUI::getEnableInternalLinks | ( | ) |
Get enable internal links.
Definition at line 139 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::getEnableKeywords | ( | ) |
Get enable keywords handling.
Definition at line 159 of file class.ilPageEditorGUI.php.
References $enable_keywords.
Referenced by executeCommand().
ilPageEditorGUI::getHeader | ( | ) |
get header title
Definition at line 84 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 51 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 935 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 1030 of file class.ilPageEditorGUI.php.
References $_GET, ilEditClipboardGUI\_getSelectedIDs(), ilPCContentInclude\create(), and ilPCMediaObject\readMediaObject().
ilPageEditorGUI::paste | ( | $a_hier_id | ) |
paste from clipboard (redirects to clipboard)
Definition at line 852 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 1015 of file class.ilPageEditorGUI.php.
References $ilCtrl.
Referenced by executeCommand().
ilPageEditorGUI::returnToContext | ( | ) |
redirect to parent context
Definition at line 102 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setEnableAnchors | ( | $a_val | ) |
Set enable anchors.
boolean | anchors |
Definition at line 169 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setEnableInternalLinks | ( | $a_val | ) |
Set enable internal links.
boolean | enable internal links |
Definition at line 129 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setEnableKeywords | ( | $a_val | ) |
Set enable keywords handling.
boolean | keywords handling |
Definition at line 149 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setHeader | ( | $a_header | ) |
set header title
string | $a_header | header title |
Definition at line 74 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkHelpDefault | ( | $a_type, | |
$a_id | |||
) |
Definition at line 107 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 113 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setLocator | ( | & | $a_locator | ) |
set locator object
object | $a_locator | locator object |
Definition at line 94 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setMediaMode | ( | ) |
set media and editing mode
Definition at line 717 of file class.ilPageEditorGUI.php.
References $_POST, and $ilias.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 119 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 1085 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::$enable_anchors |
Definition at line 43 of file class.ilPageEditorGUI.php.
Referenced by getEnableAnchors().
ilPageEditorGUI::$enable_keywords |
Definition at line 42 of file class.ilPageEditorGUI.php.
Referenced by getEnableKeywords().
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().