ILIAS
Release_4_2_x_branch Revision 61807
|
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, ilPCLoginPageElementGUI ilPageEditorGUI: ilPCInteractiveImageGUI, ilPCProfileGUI, ilPCVerificationGUI ilPageEditorGUI: ilPCBlogGUI, ilPCQuestionOverviewGUI, ilPCSkillsGUI
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 792 of file class.ilPageEditorGUI.php.
References $ilias, $ilSetting, and _isBrowserJSEditCapable().
Referenced by ilPCDataTableGUI\editData(), ilPCPlaceHolderGUI\insertPCText(), and ilPageObjectGUI\showPage().
ilPageEditorGUI::_isBrowserJSEditCapable | ( | ) |
checks wether browser is javascript editing capable
Definition at line 807 of file class.ilPageEditorGUI.php.
Referenced by _doJSEditing().
ilPageEditorGUI::activatePage | ( | ) |
Definition at line 822 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::activateSelected | ( | ) |
(de-)activate selected items
Definition at line 986 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::addChangeComment | ( | ) |
add change comment to history
Definition at line 890 of file class.ilPageEditorGUI.php.
References $_POST, ilHistory\_createEntry(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPageEditorGUI::assignCharacteristic | ( | ) |
Assign characteristic.
Definition at line 1103 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 1011 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 867 of file class.ilPageEditorGUI.php.
References $_POST, ilObject\_lookupTitle(), and ilUtil\sendSuccess().
ilPageEditorGUI::copyLinkedMediaToMediaPool | ( | ) |
copy linked media object to media pool
Definition at line 879 of file class.ilPageEditorGUI.php.
References $_POST.
ilPageEditorGUI::copySelected | ( | ) |
Copy selected items.
Definition at line 928 of file class.ilPageEditorGUI.php.
References $_POST, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::cutSelected | ( | ) |
Cut selected items.
Definition at line 947 of file class.ilPageEditorGUI.php.
References $_POST, $_SESSION, $lng, and ilUtil\sendSuccess().
ilPageEditorGUI::deactivatePage | ( | ) |
Definition at line 827 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::deleteSelected | ( | ) |
Delete selected items.
Definition at line 903 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::displayLocator | ( | ) |
display locator
Definition at line 1197 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::displayPage | ( | ) |
Default for POST reloads and missing.
Definition at line 1189 of file class.ilPageEditorGUI.php.
& ilPageEditorGUI::executeCommand | ( | ) |
execute command
Definition at line 189 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 181 of file class.ilPageEditorGUI.php.
References $enable_anchors.
Referenced by executeCommand().
ilPageEditorGUI::getEnableInternalLinks | ( | ) |
Get enable internal links.
Definition at line 141 of file class.ilPageEditorGUI.php.
Referenced by executeCommand().
ilPageEditorGUI::getEnableKeywords | ( | ) |
Get enable keywords handling.
Definition at line 161 of file class.ilPageEditorGUI.php.
References $enable_keywords.
Referenced by executeCommand().
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 1058 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 1153 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 974 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 1138 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::setEnableAnchors | ( | $a_val | ) |
Set enable anchors.
boolean | anchors |
Definition at line 171 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setEnableInternalLinks | ( | $a_val | ) |
Set enable internal links.
boolean | enable internal links |
Definition at line 131 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setEnableKeywords | ( | $a_val | ) |
Set enable keywords handling.
boolean | keywords handling |
Definition at line 151 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::setIntLinkHelpDefault | ( | $a_type, | |
$a_id | |||
) |
Definition at line 109 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 115 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 835 of file class.ilPageEditorGUI.php.
References $_POST, and $ilias.
ilPageEditorGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 121 of file class.ilPageEditorGUI.php.
ilPageEditorGUI::showSnippetInfo | ( | ) |
Show snippet info.
Definition at line 1208 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.
Referenced by getEnableAnchors().
ilPageEditorGUI::$enable_keywords |
Definition at line 44 of file class.ilPageEditorGUI.php.
Referenced by getEnableKeywords().
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().