ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
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 | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
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 | |
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. | |
saveExportIds () | |
Save export IDs. | |
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 () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
Static Public Member Functions | |
static | getLayoutOption ($a_txt, $a_var, $a_def_option="") |
Get layout option. |
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. | |
showUpperIcon () | |
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) | |
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. |
Class ilObjContentObjectGUI.
Definition at line 21 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::__initLinkChecker | ( | ) |
Definition at line 2942 of file class.ilObjContentObjectGUI.php.
References $ilDB.
Referenced by linkChecker(), and refreshLinkCheck().
ilObjContentObjectGUI::__initLMMenuEditor | ( | ) |
Definition at line 2954 of file class.ilObjContentObjectGUI.php.
Referenced by deleteMenuEntry(), editMenuEntry(), editMenuProperties(), saveMenuEntry(), saveMenuProperties(), setilLMMenu(), and updateMenuEntry().
ilObjContentObjectGUI::_forwards | ( | ) |
Definition at line 276 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 3339 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjContentObjectGUI::activateJSChapterEditing | ( | ) |
Deactivate Javascript Chapter Editing.
Definition at line 1567 of file class.ilObjContentObjectGUI.php.
References $ilCtrl.
ilObjContentObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 1538 of file class.ilObjContentObjectGUI.php.
References $_POST, ilPageObject\_lookupActive(), and ilPageObject\_writeActive().
ilObjContentObjectGUI::addBibItem | ( | ) |
add bib item (module call)
Definition at line 993 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 962 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 2427 of file class.ilObjContentObjectGUI.php.
References $_GET, 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 2967 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\$obj_id, $title, ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::addRole | ( | ) |
add local role
Definition at line 1926 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::addTabs | ( | $a_act = "" | ) |
Adds tabs.
Definition at line 2617 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, and ilLearningProgressAccess\checkAccess().
Referenced by setTabs().
|
protected |
Post (successful) object creation hook.
ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 903 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 2039 of file class.ilObjContentObjectGUI.php.
References $_GET.
ilObjContentObjectGUI::cancelDelete | ( | ) |
ilObjContentObjectGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 2175 of file class.ilObjContentObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilObjContentObjectGUI::chapters | ( | ) |
show chapters
Definition at line 1196 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tree, ilStructureObject\_getPresentationTitle(), 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 1769 of file class.ilObjContentObjectGUI.php.
References $_GET, $_SESSION, 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 1995 of file class.ilObjContentObjectGUI.php.
References copyItems().
Referenced by ilStructureObjectGUI\copyChapter().
ilObjContentObjectGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 3408 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 1639 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\clipboardCopy(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::createPDF | ( | ) |
export content object
Definition at line 2390 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::createStyle | ( | ) |
ilObjContentObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 3440 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 3375 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 | ( | ) |
Deactivate Javascript Chapter Editing.
Definition at line 1556 of file class.ilObjContentObjectGUI.php.
References $ilCtrl.
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 1671 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $_SESSION, ilUtil\getImagePath(), IL_FIRST_NODE, ilUtil\sendQuestion(), ilObjectGUI\setTabs(), and ilUtil\switchColor().
Referenced by ilLMObjectGUI\delete().
ilObjContentObjectGUI::deleteBibItem | ( | ) |
delete bib item (module call)
Definition at line 1028 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 1006 of file class.ilObjContentObjectGUI.php.
Referenced by deleteBibItem().
ilObjContentObjectGUI::deleteMenuEntry | ( | ) |
drop a menu entry
Definition at line 3038 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::deleteStyle | ( | ) |
ilObjContentObjectGUI::downloadPDFFile | ( | ) |
download export file
Definition at line 2127 of file class.ilObjContentObjectGUI.php.
References $_POST, $file, and ilUtil\deliverFile().
ilObjContentObjectGUI::editBibItem | ( | ) |
edit bib items (module call)
Definition at line 1064 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 1042 of file class.ilObjContentObjectGUI.php.
Referenced by editBibItem().
ilObjContentObjectGUI::editMenuEntry | ( | ) |
edit menu entry form
Definition at line 3055 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::editMenuProperties | ( | ) |
Edit menu properies.
Definition at line 597 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, __initLMMenuEditor(), ilUtil\getImagePath(), setSubTabs(), ilObjectGUI\setTabs(), and ilUtil\yn2tf().
ilObjContentObjectGUI::editPublicSection | ( | ) |
Definition at line 2731 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$object, ilUtil\array_php2js(), formSelect(), setSubTabs(), ilObjectGUI\setTabs(), and ilExplorer\setTargetGet().
ilObjContentObjectGUI::editStyle | ( | ) |
ilObjContentObjectGUI::editStyleProperties | ( | ) |
Edit style properties.
Definition at line 466 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, 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 772 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$ilias, 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 2055 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportHTML | ( | ) |
create html package
Definition at line 2401 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportObject | ( | ) |
ilObjContentObjectGUI::exportSCORM | ( | ) |
create scorm package
Definition at line 2413 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::fixTree | ( | ) |
Fix tree.
Definition at line 2185 of file class.ilObjContentObjectGUI.php.
References ilUtil\sendSuccess().
ilObjContentObjectGUI::fixTreeConfirm | ( | ) |
confirm screen for tree fixing
Definition at line 2152 of file class.ilObjContentObjectGUI.php.
References setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::formatInvalidLinkArray | ( | Array | $row | ) |
array | Unformatted array |
Implements ilLinkCheckerGUIRowHandling.
Definition at line 2836 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 1826 of file class.ilObjContentObjectGUI.php.
References $path.
Referenced by pages().
|
static |
Get layout option.
Definition at line 3520 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 394 of file class.ilObjContentObjectGUI.php.
Referenced by properties().
ilObjContentObjectGUI::getPublicAccessColValue | ( | $a_type, | |
$a_file | |||
) |
Get public access value for export table.
Definition at line 2066 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
ilObjContentObjectGUI::history | ( | ) |
history
public
Definition at line 2813 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 1139 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilDB, ilObjectGUI\$tpl, initImportForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::importObject | ( | ) |
display dialogue for importing XML-LeaningObjects
public
Definition at line 1126 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\createObject().
ilObjContentObjectGUI::info | ( | ) |
info permissions
Definition at line 1916 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 895 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\initCreateForm(), and initImportForm().
ilObjContentObjectGUI::initImportForm | ( | ) |
Init import form.
Definition at line 925 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), ilFormPropertyGUI\setInfo(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject(), and initCreationForms().
ilObjContentObjectGUI::initPropertiesForm | ( | ) |
Init properties form.
Definition at line 313 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 3591 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, and getLayoutOption().
Referenced by setPageLayout().
ilObjContentObjectGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 477 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), formSelect(), ilSelectInputGUI\setOptions(), setSubTabs(), ilObjectGUI\setTabs(), and ilNonEditableValueGUI\setValue().
Referenced by editStyleProperties().
ilObjContentObjectGUI::insertChapter | ( | ) |
Insert (multiple) chapters at node.
Definition at line 3233 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 3269 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, $ilLog, ilEditClipboard\clear(), ilEditClipboard\getAction(), ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, ilLMObject\pasteTree(), and ilLMObject\updateInternalLinks().
Referenced by pasteChapter().
ilObjContentObjectGUI::linkChecker | ( | ) |
Definition at line 2858 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$ilias, 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 1507 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::listQuestions | ( | ) |
List questions.
@return |
Definition at line 2523 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 1963 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 2011 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\clipboardCut(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::owner | ( | ) |
show owner of content object
Definition at line 1936 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setTabs().
ilObjContentObjectGUI::pages | ( | ) |
Definition at line 1335 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilPageObject\_isScheduledActivation(), ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), 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 2003 of file class.ilObjContentObjectGUI.php.
References insertChapterClip().
Referenced by ilStructureObjectGUI\pasteChapter().
ilObjContentObjectGUI::pastePage | ( | ) |
paste page
Definition at line 1578 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 1894 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setFormAction(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::permSave | ( | ) |
save permissions
Definition at line 1907 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::popup | ( | ) |
popup window for wysiwyg editor
Definition at line 875 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::proceedDragDrop | ( | ) |
proceed drag and drop operations on pages/chapters
Definition at line 886 of file class.ilObjContentObjectGUI.php.
References $_POST, and $ilCtrl.
Referenced by explorer().
ilObjContentObjectGUI::properties | ( | ) |
edit properties form
Reimplemented in ilObjDlBookGUI.
Definition at line 284 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 2094 of file class.ilObjContentObjectGUI.php.
References $file, $ilCtrl, and ilUtil\sendFailure().
ilObjContentObjectGUI::refreshLinkCheck | ( | ) |
Definition at line 2922 of file class.ilObjContentObjectGUI.php.
References __initLinkChecker(), linkChecker(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 3221 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::saveBibItem | ( | ) |
save bib item (module call)
Definition at line 1101 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 1077 of file class.ilObjContentObjectGUI.php.
Referenced by saveBibItem().
ilObjContentObjectGUI::saveExportIds | ( | ) |
Save export IDs.
Definition at line 3471 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, $ok, ilLMPageObject\saveExportId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showExportIDsOverview(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::saveLinkCheck | ( | ) |
Definition at line 2895 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilDB, linkChecker(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuEntry | ( | ) |
save new menu entry
Definition at line 3001 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, __initLMMenuEditor(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuProperties | ( | ) |
save properties
Definition at line 749 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, __initLMMenuEditor(), ilUtil\sendSuccess(), and ilUtil\yn2tf().
ilObjContentObjectGUI::savePageLayout | ( | ) |
Save page layout.
Definition at line 3622 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 430 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, ilObjectGUI\$tpl, initPropertiesForm(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::savePublicSection | ( | ) |
Definition at line 2798 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\_writePublicAccessStatus(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveStyleSettings | ( | ) |
Save style settings.
Definition at line 579 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::selectFooter | ( | ) |
select page as footer
Definition at line 3196 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::selectHeader | ( | ) |
select page as header
Definition at line 3171 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::setContentSubTabs | ( | $a_active | ) |
Set pages tabs.
@return |
Definition at line 2560 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by chapters(), fixTreeConfirm(), linkChecker(), listLinks(), listQuestions(), pages(), showExportIDsOverview(), and showMaintenance().
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 2195 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, __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 3565 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 3554 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and setPageLayout().
ilObjContentObjectGUI::setSubTabs | ( | $a_active | ) |
Set sub tabs.
Definition at line 2694 of file class.ilObjContentObjectGUI.php.
References $ilSetting.
Referenced by editMenuProperties(), editPublicSection(), initStylePropertiesForm(), and properties().
ilObjContentObjectGUI::setTabs | ( | $a_act = "" | ) |
output tabs
Definition at line 2544 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 1853 of file class.ilObjContentObjectGUI.php.
References $d, ilObjectGUI\$lng, $row, and ilUtil\getImagePath().
Referenced by chapters(), and pages().
ilObjContentObjectGUI::showEntrySelector | ( | ) |
Definition at line 3113 of file class.ilObjContentObjectGUI.php.
References $_GET, formSelect(), ilUtil\sendInfo(), ilExplorer\setExpand(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::showExportIDsOverview | ( | $a_validation = false | ) |
Show export IDs overview.
@return |
Definition at line 3455 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
Referenced by saveExportIds().
ilObjContentObjectGUI::showMaintenance | ( | ) |
Show maintenance.
Definition at line 1524 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setContentSubTabs(), and ilObjectGUI\setTabs().
ilObjContentObjectGUI::updateMenuEntry | ( | ) |
update a menu entry
Definition at line 3086 of file class.ilObjContentObjectGUI.php.
References $_POST, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::view | ( | ) |
view content object
Reimplemented in ilObjLearningModuleGUI.
Definition at line 1946 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\prepareOutput(), and ilObjectGUI\viewObject().
ilObjContentObjectGUI::$ctrl |
Definition at line 23 of file class.ilObjContentObjectGUI.php.