ILIAS
release_4-3 Revision
|
Class ilObjContentObjectGUI. More...
Public Member Functions | |
ilObjContentObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=false) | |
Constructor. | |
& | executeCommand () |
execute command | |
_forwards () | |
properties () | |
edit properties form | |
initPropertiesForm () | |
Init properties form. | |
getPropertiesFormValues () | |
Get values for properties form. | |
saveProperties () | |
save properties | |
editStyleProperties () | |
Edit style properties. | |
initStylePropertiesForm () | |
Init style properties form. | |
createStyle () | |
Create Style. | |
editStyle () | |
Edit Style. | |
deleteStyle () | |
Delete Style. | |
saveStyleSettings () | |
Save style settings. | |
initMenuForm () | |
Init menu form. | |
editMenuProperties () | |
Edit menu properies. | |
saveMenuProperties () | |
save properties | |
explorer () | |
output explorer tree | |
popup () | |
popup window for wysiwyg editor | |
proceedDragDrop () | |
proceed drag and drop operations on pages/chapters | |
initImportForm () | |
Init import form. | |
addBibItemObject ($a_target="") | |
add bib item (admin call) | |
addBibItem () | |
add bib item (module call) | |
deleteBibItemObject ($a_target="") | |
delete bib item (admin call) | |
deleteBibItem () | |
delete bib item (module call) | |
editBibItemObject ($a_target="") | |
edit bib items (admin call) | |
editBibItem () | |
edit bib items (module call) | |
saveBibItemObject ($a_target="") | |
save bib item (admin call) | |
saveBibItem () | |
save bib item (module call) | |
exportObject () | |
export object | |
importObject () | |
display dialogue for importing XML-LeaningObjects | |
importFileObject () | |
display status information or report errors messages in case of error | |
chapters () | |
show chapters | |
pages () | |
listLinks () | |
List all broken links. | |
showMaintenance () | |
Show maintenance. | |
activatePages () | |
activates or deactivates pages | |
deactivateJSChapterEditing () | |
Deactivate Javascript Chapter Editing. | |
activateJSChapterEditing () | |
Deactivate Javascript Chapter Editing. | |
pastePage () | |
paste page | |
copyPage () | |
copy page | |
delete ($a_parent_subobj_id=0) | |
confirm deletion screen for page object and structure object deletion | |
cancelDelete () | |
cancel delete | |
confirmedDelete ($a_parent_subobj_id=0) | |
delete page object or structure objects | |
getContextPath ($a_endnode_id, $a_startnode_id=1) | |
get context path in content object tree | |
showActions ($a_actions) | |
show possible action (form buttons) | |
perm () | |
edit permissions | |
permSave () | |
save permissions | |
info () | |
info permissions | |
addRole () | |
add local role | |
owner () | |
show owner of content object | |
view () | |
view content object | |
moveChapter ($a_parent_subobj_id=0) | |
move a single chapter (selection) | |
copyChapter ($a_parent_subobj_id=0) | |
copy a single chapter (selection) | |
pasteChapter ($a_parent_subobj_id=0) | |
paste chapter | |
movePage () | |
move page | |
cancel () | |
cancel action | |
export () | |
export content object | |
getPublicAccessColValue ($a_type, $a_file) | |
Get public access value for export table. | |
publishExportFile ($a_files) | |
download export file | |
downloadPDFFile () | |
download export file | |
fixTreeConfirm () | |
confirm screen for tree fixing | |
fixTree () | |
Fix tree. | |
setilLMMenu ($a_offline=false, $a_export_format="", $a_active="content", $a_use_global_tabs=false, $a_as_subtabs=false, $a_cur_page=0) | |
get lm menu html | |
createPDF () | |
export content object | |
exportHTML () | |
create html package | |
exportSCORM () | |
create scorm package | |
addLocations ($a_omit_obj_id=false) | |
display locator | |
listQuestions () | |
List questions. | |
setTabs ($a_act="") | |
output tabs | |
setContentSubTabs ($a_active) | |
Set pages tabs. | |
addTabs ($a_act="") | |
Adds tabs. | |
setSubTabs ($a_active) | |
Set sub tabs. | |
editPublicSection () | |
savePublicSection () | |
history () | |
history | |
formatInvalidLinkArray (Array $row) | |
linkChecker () | |
saveLinkCheck () | |
refreshLinkCheck () | |
__initLinkChecker () | |
__initLMMenuEditor () | |
addMenuEntry () | |
display add menu entry form | |
initMenuEntryForm ($a_mode="edit") | |
Init menu entry form. | |
saveMenuEntry () | |
save new menu entry | |
deleteMenuEntry () | |
drop a menu entry | |
editMenuEntry () | |
edit menu entry form | |
updateMenuEntry () | |
update a menu entry | |
showEntrySelector () | |
selectHeader () | |
select page as header | |
selectFooter () | |
select page as footer | |
saveAllTitles () | |
Save all titles of chapters/pages. | |
insertChapter () | |
Insert (multiple) chapters at node. | |
insertChapterClip () | |
Insert Chapter from clipboard. | |
_goto ($a_target) | |
redirect script | |
cutItems ($a_return="chapters") | |
Copy items to clipboard, then cut them from the current tree. | |
copyItems () | |
Copy items to clipboard. | |
cutChapter () | |
Cut chapter(s) | |
showExportIDsOverview ($a_validation=false) | |
Show export IDs overview. | |
filterHelpChapters () | |
Filter help chapters. | |
saveExportIds () | |
Save export IDs. | |
saveHelpMapping () | |
Save help mapping. | |
showTooltipList () | |
Show export IDs overview. | |
addTooltip () | |
Add tooltip. | |
filterTooltips () | |
Filter tooltips. | |
saveTooltips () | |
Save tooltips. | |
deleteTooltips () | |
Delete tooltips. | |
setPageLayoutInHierarchy () | |
Set layout for multipl pages. | |
setPageLayout ($a_in_hierarchy=false) | |
Set layout for multipl pages. | |
initSetPageLayoutForm () | |
Init set page layout form. | |
savePageLayout () | |
Save page layout. | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Static Public Member Functions | |
static | getLayoutOption ($a_txt, $a_var, $a_def_option="") |
Save help mapping. | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
Data Fields | |
$ctrl | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormValues () | |
Get values for edit form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterUpdate () | |
Post (successful) object update hook. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. |
ilObjContentObjectGUI::__initLinkChecker | ( | ) |
Definition at line 2900 of file class.ilObjContentObjectGUI.php.
Referenced by linkChecker(), and refreshLinkCheck().
ilObjContentObjectGUI::__initLMMenuEditor | ( | ) |
Definition at line 2912 of file class.ilObjContentObjectGUI.php.
Referenced by deleteMenuEntry(), editMenuProperties(), initMenuEntryForm(), saveMenuEntry(), saveMenuProperties(), setilLMMenu(), and updateMenuEntry().
ilObjContentObjectGUI::_forwards | ( | ) |
Definition at line 281 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 3347 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjContentObjectGUI::activateJSChapterEditing | ( | ) |
ilObjContentObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 1511 of file class.ilObjContentObjectGUI.php.
References $_POST, ilPageObject\_lookupActive(), and ilPageObject\_writeActive().
ilObjContentObjectGUI::addBibItem | ( | ) |
add bib item (module call)
Definition at line 966 of file class.ilObjContentObjectGUI.php.
References addBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and ilObjectGUI\setTabs().
ilObjContentObjectGUI::addBibItemObject | ( | $a_target = "" | ) |
add bib item (admin call)
Definition at line 935 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilObjectGUI\$data, and ilUtil\sendInfo().
Referenced by addBibItem().
ilObjContentObjectGUI::addLocations | ( | $a_omit_obj_id = false | ) |
display locator
boolean | $a_omit_obj_id | set to true, if obj id is not page id (e.g. permission gui) |
Definition at line 2356 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $path, $row, $title, ilObjectGUI\$tree, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
Referenced by executeCommand().
ilObjContentObjectGUI::addMenuEntry | ( | ) |
display add menu entry form
Definition at line 2925 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$tpl, initMenuEntryForm(), setSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::addRole | ( | ) |
add local role
Definition at line 1869 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::addTabs | ( | $a_act = "" | ) |
Adds tabs.
Definition at line 2564 of file class.ilObjContentObjectGUI.php.
References $ilUser, ilObjectGUI\$lng, and ilLearningProgressAccess\checkAccess().
Referenced by setTabs().
ilObjContentObjectGUI::addTooltip | ( | ) |
Add tooltip.
@return |
Definition at line 3627 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendSuccess(), ilSession\set(), and ilUtil\stripSlashes().
|
protected |
Post (successful) object creation hook.
ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 876 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObject\getRefId(), ilObject\notify(), ilUtil\redirect(), ilUtil\sendSuccess(), and ilObject\update().
ilObjContentObjectGUI::cancel | ( | ) |
cancel action
Definition at line 1982 of file class.ilObjContentObjectGUI.php.
References $_GET.
ilObjContentObjectGUI::cancelDelete | ( | ) |
ilObjContentObjectGUI::chapters | ( | ) |
show chapters
Definition at line 1169 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$tree, ilStructureObject\_getPresentationTitle(), ilUtil\formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, setContentSubTabs(), ilFormGUI\setFormAction(), ilObjectGUI\setTabs(), showActions(), and ilUtil\switchColor().
ilObjContentObjectGUI::confirmedDelete | ( | $a_parent_subobj_id = 0 | ) |
delete page object or structure objects
int | $a_parent_subobj_id | id of parent object (structure object) of the objects, that should be deleted (or no parent object id for top level) |
Definition at line 1712 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilObjectGUI\$tree, ilHistory\_createEntry(), ilLMObject\_lookupTitle(), ilLMObjectFactory\getInstance(), IL_FIRST_NODE, and ilUtil\sendSuccess().
Referenced by ilLMObjectGUI\confirmedDelete().
ilObjContentObjectGUI::copyChapter | ( | $a_parent_subobj_id = 0 | ) |
copy a single chapter (selection)
Definition at line 1938 of file class.ilObjContentObjectGUI.php.
References copyItems().
Referenced by ilStructureObjectGUI\copyChapter().
ilObjContentObjectGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 3412 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilLMObject\clipboardCopy(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
Referenced by copyChapter().
ilObjContentObjectGUI::copyPage | ( | ) |
copy page
Definition at line 1612 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilUser, ilLMObject\clipboardCopy(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::createPDF | ( | ) |
export content object
Definition at line 2319 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::createStyle | ( | ) |
ilObjContentObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 3444 of file class.ilObjContentObjectGUI.php.
References cutItems().
ilObjContentObjectGUI::cutItems | ( | $a_return = "chapters" | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 3379 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilLMObject\clipboardCut(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
Referenced by cutChapter().
ilObjContentObjectGUI::deactivateJSChapterEditing | ( | ) |
ilObjContentObjectGUI::delete | ( | $a_parent_subobj_id = 0 | ) |
confirm deletion screen for page object and structure object deletion
int | $a_parent_subobj_id | id of parent object (structure object) of the objects, that should be deleted (or no parent object id for top level) |
Definition at line 1644 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilUtil\getImageTagByType(), IL_FIRST_NODE, and ilObjectGUI\setTabs().
Referenced by ilLMObjectGUI\delete().
ilObjContentObjectGUI::deleteBibItem | ( | ) |
delete bib item (module call)
Definition at line 1001 of file class.ilObjContentObjectGUI.php.
References deleteBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and ilObjectGUI\setTabs().
ilObjContentObjectGUI::deleteBibItemObject | ( | $a_target = "" | ) |
delete bib item (admin call)
Definition at line 979 of file class.ilObjContentObjectGUI.php.
Referenced by deleteBibItem().
ilObjContentObjectGUI::deleteMenuEntry | ( | ) |
drop a menu entry
Definition at line 3050 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::deleteStyle | ( | ) |
ilObjContentObjectGUI::deleteTooltips | ( | ) |
Delete tooltips.
Definition at line 3687 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilHelp\deleteTooltip(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::downloadPDFFile | ( | ) |
download export file
Definition at line 2070 of file class.ilObjContentObjectGUI.php.
References $_POST, $file, and ilUtil\deliverFile().
ilObjContentObjectGUI::editBibItem | ( | ) |
edit bib items (module call)
Definition at line 1037 of file class.ilObjContentObjectGUI.php.
References editBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and ilObjectGUI\setTabs().
ilObjContentObjectGUI::editBibItemObject | ( | $a_target = "" | ) |
edit bib items (admin call)
Definition at line 1015 of file class.ilObjContentObjectGUI.php.
Referenced by editBibItem().
ilObjContentObjectGUI::editMenuEntry | ( | ) |
edit menu entry form
Definition at line 3067 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, and initMenuEntryForm().
ilObjContentObjectGUI::editMenuProperties | ( | ) |
Edit menu properies.
Definition at line 693 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, __initLMMenuEditor(), initMenuForm(), setSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::editPublicSection | ( | ) |
Definition at line 2678 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$object, $si, ilUtil\array_php2js(), ilUtil\sendInfo(), setSubTabs(), ilObjectGUI\setTabs(), and ilExplorer\setTargetGet().
ilObjContentObjectGUI::editStyle | ( | ) |
ilObjContentObjectGUI::editStyleProperties | ( | ) |
Edit style properties.
Definition at line 498 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, and initStylePropertiesForm().
& ilObjContentObjectGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 42 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ilErr, ilObjectGUI\$lng, $ret, ilLearningProgressBaseGUI\activateStatistics(), ilObjectGUI\addHeaderAction(), addLocations(), ilMDEditorGUI\addObserver(), explorer(), ilObjectGUI\getCreationMode(), ilLMObjectFactory\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), LP_MODE_REPOSITORY, ilObjectGUI\omitLocator(), ilObjectGUI\prepareOutput(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::explorer | ( | ) |
output explorer tree
Definition at line 745 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$ilias, $ilUser, ilObjectGUI\$object, $path, exit, ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), proceedDragDrop(), ilTree\setTableNames(), and ilExplorer\setTargetGet().
Referenced by executeCommand().
ilObjContentObjectGUI::export | ( | ) |
export content object
Reimplemented in ilObjDlBookGUI.
Definition at line 1998 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportHTML | ( | ) |
create html package
Definition at line 2330 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportObject | ( | ) |
ilObjContentObjectGUI::exportSCORM | ( | ) |
create scorm package
Definition at line 2342 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::filterHelpChapters | ( | ) |
Filter help chapters.
@return |
Definition at line 3502 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilSession\set(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::filterTooltips | ( | ) |
Filter tooltips.
@return |
Definition at line 3651 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilSession\set(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::fixTree | ( | ) |
Fix tree.
Definition at line 2114 of file class.ilObjContentObjectGUI.php.
References ilUtil\sendSuccess().
ilObjContentObjectGUI::fixTreeConfirm | ( | ) |
confirm screen for tree fixing
Definition at line 2095 of file class.ilObjContentObjectGUI.php.
References setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::formatInvalidLinkArray | ( | Array | $row | ) |
array | Unformatted array |
Implements ilLinkCheckerGUIRowHandling.
Definition at line 2794 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$actions, $row, and ilLMPageObject\_getPresentationTitle().
ilObjContentObjectGUI::getContextPath | ( | $a_endnode_id, | |
$a_startnode_id = 1 |
|||
) |
get context path in content object tree
int | $a_endnode_id | id of endnode |
int | $a_startnode_id | id of startnode |
Reimplemented in ilObjDlBookGUI.
Definition at line 1769 of file class.ilObjContentObjectGUI.php.
References $path.
Referenced by pages().
|
static |
Save help mapping.
@return | Get layout option |
Definition at line 3736 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), and ilUtil\img().
Referenced by initPropertiesForm(), ilStructureObjectGUI\initSetPageLayoutForm(), and initSetPageLayoutForm().
ilObjContentObjectGUI::getPropertiesFormValues | ( | ) |
Get values for properties form.
Definition at line 408 of file class.ilObjContentObjectGUI.php.
Referenced by properties().
ilObjContentObjectGUI::getPublicAccessColValue | ( | $a_type, | |
$a_file | |||
) |
Get public access value for export table.
Definition at line 2009 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
ilObjContentObjectGUI::history | ( | ) |
history
public
Definition at line 2771 of file class.ilObjContentObjectGUI.php.
References ilHistoryGUI\getHistoryTable(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::ilObjContentObjectGUI | ( | $a_data, | |
$a_id = 0 , |
|||
$a_call_by_reference = true , |
|||
$a_prepare_output = false |
|||
) |
Constructor.
public
Definition at line 30 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
Referenced by ilObjDlBookGUI\ilObjDlBookGUI(), and ilObjLearningModuleGUI\ilObjLearningModuleGUI().
ilObjContentObjectGUI::importFileObject | ( | ) |
display status information or report errors messages in case of error
public
Definition at line 1112 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilObjectGUI\$tpl, initImportForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::importObject | ( | ) |
display dialogue for importing XML-LeaningObjects
public
Definition at line 1099 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\createObject().
ilObjContentObjectGUI::info | ( | ) |
info permissions
Definition at line 1859 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setTabs().
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
string | $a_new_type |
Reimplemented from ilObjectGUI.
Definition at line 868 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\initCreateForm(), and initImportForm().
ilObjContentObjectGUI::initImportForm | ( | ) |
Init import form.
Definition at line 898 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), ilFormPropertyGUI\setInfo(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject(), and initCreationForms().
ilObjContentObjectGUI::initMenuEntryForm | ( | $a_mode = "edit" | ) |
Init menu entry form.
string | $a_mode | Edit Mode |
Definition at line 2946 of file class.ilObjContentObjectGUI.php.
References $_GET, $_REQUEST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $title, __initLMMenuEditor(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ilTextInputGUI\setMaxLength().
Referenced by addMenuEntry(), and editMenuEntry().
ilObjContentObjectGUI::initMenuForm | ( | ) |
Init menu form.
Definition at line 629 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilCheckboxInputGUI\setChecked(), and ilFormPropertyGUI\setInfo().
Referenced by editMenuProperties().
ilObjContentObjectGUI::initPropertiesForm | ( | ) |
Init properties form.
Definition at line 327 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, getLayoutOption(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), and ilFormPropertyGUI\setRequired().
Referenced by properties(), and saveProperties().
ilObjContentObjectGUI::initSetPageLayoutForm | ( | ) |
Init set page layout form.
Definition at line 3808 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and getLayoutOption().
Referenced by setPageLayout().
ilObjContentObjectGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 509 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), ilUtil\formSelect(), ilSelectInputGUI\setOptions(), setSubTabs(), ilObjectGUI\setTabs(), and ilNonEditableValueGUI\setValue().
Referenced by editStyleProperties().
ilObjContentObjectGUI::insertChapter | ( | ) |
Insert (multiple) chapters at node.
Definition at line 3241 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and ilLMObject\putInTree().
ilObjContentObjectGUI::insertChapterClip | ( | ) |
Insert Chapter from clipboard.
Definition at line 3277 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, $ilLog, $ilUser, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by pasteChapter().
ilObjContentObjectGUI::linkChecker | ( | ) |
Definition at line 2816 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$ilias, $ilUser, ilObjectGUI\$tpl, __initLinkChecker(), ilLinkCheckNotify\_getNotifyStatus(), setContentSubTabs(), ilObjectGUI\setTabs(), and ilCheckboxInputGUI\setValue().
Referenced by refreshLinkCheck(), and saveLinkCheck().
ilObjContentObjectGUI::listLinks | ( | ) |
List all broken links.
Definition at line 1480 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::listQuestions | ( | ) |
List questions.
@return |
Definition at line 2454 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::moveChapter | ( | $a_parent_subobj_id = 0 | ) |
move a single chapter (selection)
Definition at line 1906 of file class.ilObjContentObjectGUI.php.
References $_POST, IL_FIRST_NODE, ilUtil\sendInfo(), and ilEditClipboard\storeContentObject().
Referenced by ilStructureObjectGUI\cutChapter().
ilObjContentObjectGUI::movePage | ( | ) |
move page
Definition at line 1954 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilUser, ilLMObject\clipboardCut(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::owner | ( | ) |
show owner of content object
Definition at line 1879 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setTabs().
ilObjContentObjectGUI::pages | ( | ) |
Definition at line 1308 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilPageObject\_isScheduledActivation(), ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), ilUtil\formSelect(), ilEditClipboard\getAction(), ilEditClipboard\getContentObjectType(), getContextPath(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), IL_FIRST_NODE, setContentSubTabs(), ilObjectGUI\setTabs(), showActions(), and ilUtil\switchColor().
ilObjContentObjectGUI::pasteChapter | ( | $a_parent_subobj_id = 0 | ) |
paste chapter
Definition at line 1946 of file class.ilObjContentObjectGUI.php.
References insertChapterClip().
Referenced by ilStructureObjectGUI\pasteChapter().
ilObjContentObjectGUI::pastePage | ( | ) |
paste page
Definition at line 1551 of file class.ilObjContentObjectGUI.php.
References ilLMObject\_lookupContObjID(), ilEditClipboard\clear(), ilEditClipboard\getAction(), ilEditClipboard\getContentObjectId(), ilEditClipboard\getContentObjectType(), and ilLMObject\updateInternalLinks().
ilObjContentObjectGUI::perm | ( | ) |
edit permissions
Definition at line 1837 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setFormAction(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::permSave | ( | ) |
save permissions
Definition at line 1850 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::popup | ( | ) |
popup window for wysiwyg editor
Definition at line 848 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::proceedDragDrop | ( | ) |
proceed drag and drop operations on pages/chapters
Definition at line 859 of file class.ilObjContentObjectGUI.php.
References $_POST, and $ilCtrl.
Referenced by explorer().
ilObjContentObjectGUI::properties | ( | ) |
edit properties form
Reimplemented in ilObjDlBookGUI.
Definition at line 289 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), getPropertiesFormValues(), initPropertiesForm(), setSubTabs(), and ilObjectGUI\setTabs().
Referenced by ilObjLearningModuleGUI\view().
ilObjContentObjectGUI::publishExportFile | ( | $a_files | ) |
download export file
Definition at line 2037 of file class.ilObjContentObjectGUI.php.
References $file, $ilCtrl, and ilUtil\sendFailure().
ilObjContentObjectGUI::refreshLinkCheck | ( | ) |
Definition at line 2880 of file class.ilObjContentObjectGUI.php.
References __initLinkChecker(), linkChecker(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 3229 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::saveBibItem | ( | ) |
save bib item (module call)
Definition at line 1074 of file class.ilObjContentObjectGUI.php.
References ilCtrl\IL_RTOKEN_NAME, saveBibItemObject(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::saveBibItemObject | ( | $a_target = "" | ) |
save bib item (admin call)
Definition at line 1050 of file class.ilObjContentObjectGUI.php.
Referenced by saveBibItem().
ilObjContentObjectGUI::saveExportIds | ( | ) |
Save export IDs.
Definition at line 3514 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, $ok, ilLMObject\_lookupType(), ilLMObject\saveExportId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showExportIDsOverview(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::saveHelpMapping | ( | ) |
Save help mapping.
@return |
Definition at line 3560 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilHelpMapping\saveScreenIdsForChapter(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveLinkCheck | ( | ) |
Definition at line 2853 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilUser, linkChecker(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuEntry | ( | ) |
save new menu entry
Definition at line 3013 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, __initLMMenuEditor(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuProperties | ( | ) |
save properties
Definition at line 722 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::savePageLayout | ( | ) |
Save page layout.
Definition at line 3839 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilLMObject\writeLayout().
ilObjContentObjectGUI::saveProperties | ( | ) |
save properties
Definition at line 444 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$tpl, $valid, initPropertiesForm(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::savePublicSection | ( | ) |
Definition at line 2756 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\_writePublicAccessStatus(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveStyleSettings | ( | ) |
Save style settings.
Definition at line 611 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::saveTooltips | ( | ) |
Save tooltips.
@return |
Definition at line 3666 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilHelp\updateTooltip().
ilObjContentObjectGUI::selectFooter | ( | ) |
select page as footer
Definition at line 3204 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::selectHeader | ( | ) |
select page as header
Definition at line 3179 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::setContentSubTabs | ( | $a_active | ) |
Set pages tabs.
@return |
Definition at line 2493 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilObjContentObject\isOnlineHelpModule().
Referenced by chapters(), fixTreeConfirm(), linkChecker(), listLinks(), listQuestions(), pages(), showExportIDsOverview(), showMaintenance(), and showTooltipList().
ilObjContentObjectGUI::setilLMMenu | ( | $a_offline = false , |
|
$a_export_format = "" , |
|||
$a_active = "content" , |
|||
$a_use_global_tabs = false , |
|||
$a_as_subtabs = false , |
|||
$a_cur_page = 0 |
|||
) |
get lm menu html
Definition at line 2124 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, __initLMMenuEditor(), ilFrameTargetInfo\_getFrame(), ilPaymentObject\_requiresPurchaseToAccess(), ilUtil\appendUrlParameterString(), ilPluginAdmin\getPluginObject(), and IL_COMP_SERVICE.
ilObjContentObjectGUI::setPageLayout | ( | $a_in_hierarchy = false | ) |
Set layout for multipl pages.
Definition at line 3782 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, initSetPageLayoutForm(), and ilUtil\sendFailure().
Referenced by setPageLayoutInHierarchy().
ilObjContentObjectGUI::setPageLayoutInHierarchy | ( | ) |
Set layout for multipl pages.
Definition at line 3771 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and setPageLayout().
ilObjContentObjectGUI::setSubTabs | ( | $a_active | ) |
Set sub tabs.
Definition at line 2641 of file class.ilObjContentObjectGUI.php.
References $ilSetting.
Referenced by addMenuEntry(), editMenuProperties(), editPublicSection(), initStylePropertiesForm(), properties(), and showEntrySelector().
ilObjContentObjectGUI::setTabs | ( | $a_act = "" | ) |
output tabs
Definition at line 2475 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, addTabs(), and ilUtil\getImagePath().
ilObjContentObjectGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 1796 of file class.ilObjContentObjectGUI.php.
References $d, ilObjectGUI\$lng, $row, and ilUtil\getImagePath().
Referenced by chapters(), and pages().
ilObjContentObjectGUI::showEntrySelector | ( | ) |
Definition at line 3114 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, ilUtil\formSelect(), ilUtil\sendInfo(), ilExplorer\setExpand(), setSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::showExportIDsOverview | ( | $a_validation = false | ) |
Show export IDs overview.
@return |
Definition at line 3459 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $si, ilObjectGUI\$tpl, ilSession\get(), ilObjContentObject\isOnlineHelpModule(), setContentSubTabs(), and ilObjectGUI\setTabs().
Referenced by saveExportIds().
ilObjContentObjectGUI::showMaintenance | ( | ) |
Show maintenance.
Definition at line 1497 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::showTooltipList | ( | ) |
Show export IDs overview.
@return |
Definition at line 3587 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $si, ilObjectGUI\$tpl, ilSession\get(), ilHelp\getTooltipComponents(), setContentSubTabs(), ilTextInputGUI\setMaxLength(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::updateMenuEntry | ( | ) |
update a menu entry
Definition at line 3087 of file class.ilObjContentObjectGUI.php.
References $_POST, $_REQUEST, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::view | ( | ) |
view content object
Reimplemented in ilObjLearningModuleGUI.
Definition at line 1889 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\prepareOutput(), and ilObjectGUI\viewObject().
ilObjContentObjectGUI::$ctrl |
Definition at line 23 of file class.ilObjContentObjectGUI.php.