ILIAS
Release_4_0_x_branch Revision 61816
|
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 | |
createObject () | |
form for new content object creation | |
initCreationForm ($a_mode="create") | |
Init creation form. | |
initImportForm () | |
Init import form. | |
saveObject () | |
save new content object to db | |
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. | |
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 | |
exportMenu () | |
show list of export files | |
exportList () | |
viewExportLog () | |
downloadExportFile () | |
download export file | |
publishExportFile () | |
download export file | |
downloadPDFFile () | |
download export file | |
confirmDeleteExportFile () | |
confirmation screen for export file deletion | |
cancelDeleteExportFile () | |
cancel deletion of export files | |
deleteExportFile () | |
delete export files | |
fixTreeConfirm () | |
confirm screen for tree fixing | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
cancelFixTree () | |
cancel tree fixing | |
fixTree () | |
fix tree | |
setilLMMenu ($a_offline=false, $a_export_format="", $a_active="content", $a_use_global_tabs=false, $a_as_subtabs=false) | |
get lm menu html | |
createPDF () | |
export content object | |
exportHTML () | |
create html package | |
exportSCORM () | |
create scorm package | |
addLocations ($a_omit_obj_id=false) | |
display locator | |
setTabs () | |
output tabs | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
setSubTabs ($a_active) | |
Set sub tabs. | |
editPublicSection () | |
savePublicSection () | |
history () | |
history | |
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) | |
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 | |
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. |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
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) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
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 | |
__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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
Class ilObjContentObjectGUI.
Definition at line 20 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::__initLinkChecker | ( | ) |
Definition at line 3365 of file class.ilObjContentObjectGUI.php.
References $ilDB.
Referenced by linkChecker(), and refreshLinkCheck().
ilObjContentObjectGUI::__initLMMenuEditor | ( | ) |
Definition at line 3377 of file class.ilObjContentObjectGUI.php.
Referenced by deleteMenuEntry(), editMenuEntry(), editMenuProperties(), saveMenuEntry(), saveMenuProperties(), setilLMMenu(), and updateMenuEntry().
ilObjContentObjectGUI::_forwards | ( | ) |
Definition at line 242 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 3762 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 1703 of file class.ilObjContentObjectGUI.php.
References $ilCtrl.
ilObjContentObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 1674 of file class.ilObjContentObjectGUI.php.
References $_POST, ilPageObject\_lookupActive(), and ilPageObject\_writeActive().
ilObjContentObjectGUI::addBibItem | ( | ) |
add bib item (module call)
Definition at line 1098 of file class.ilObjContentObjectGUI.php.
References addBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and setTabs().
ilObjContentObjectGUI::addBibItemObject | ( | $a_target = "" | ) |
add bib item (admin call)
Definition at line 1067 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 2919 of file class.ilObjContentObjectGUI.php.
References $_GET, $key, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $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 3390 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\$obj_id, $title, ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and setTabs().
ilObjContentObjectGUI::addRole | ( | ) |
add local role
Definition at line 2053 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::cancel | ( | ) |
cancel action
Definition at line 2314 of file class.ilObjContentObjectGUI.php.
References $_GET.
ilObjContentObjectGUI::cancelDelete | ( | ) |
ilObjContentObjectGUI::cancelDeleteExportFile | ( | ) |
cancel deletion of export files
Definition at line 2631 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::cancelFixTree | ( | ) |
cancel tree fixing
Definition at line 2697 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 2688 of file class.ilObjContentObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilObjContentObjectGUI::chapters | ( | ) |
show chapters
Definition at line 1368 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tree, ilStructureObject\_getPresentationTitle(), formSelect(), ilUtil\getImagePath(), IL_FIRST_NODE, ilFormGUI\setFormAction(), setTabs(), showActions(), and ilUtil\switchColor().
ilObjContentObjectGUI::confirmDeleteExportFile | ( | ) |
confirmation screen for export file deletion
Definition at line 2580 of file class.ilObjContentObjectGUI.php.
References $_POST, $_SESSION, $file, $name, ilUtil\getImagePath(), ilUtil\sendQuestion(), setTabs(), 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 1896 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 2122 of file class.ilObjContentObjectGUI.php.
References $_POST, copyItems(), IL_FIRST_NODE, ilUtil\sendInfo(), and ilEditClipboard\storeContentObject().
Referenced by ilStructureObjectGUI\copyChapter().
ilObjContentObjectGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 3831 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 1775 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\clipboardCopy(), ilUtil\sendInfo(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 854 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, $key, ilObjectGUI\$tpl, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), initCreationForm(), initImportForm(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by importObject().
ilObjContentObjectGUI::createPDF | ( | ) |
export content object
Definition at line 2882 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::createStyle | ( | ) |
ilObjContentObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 3863 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 3798 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 1692 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 1798 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $_SESSION, $name, ilUtil\getImagePath(), IL_FIRST_NODE, ilUtil\sendQuestion(), setTabs(), and ilUtil\switchColor().
Referenced by ilLMObjectGUI\delete().
ilObjContentObjectGUI::deleteBibItem | ( | ) |
delete bib item (module call)
Definition at line 1133 of file class.ilObjContentObjectGUI.php.
References deleteBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and setTabs().
ilObjContentObjectGUI::deleteBibItemObject | ( | $a_target = "" | ) |
delete bib item (admin call)
Definition at line 1111 of file class.ilObjContentObjectGUI.php.
Referenced by deleteBibItem().
ilObjContentObjectGUI::deleteExportFile | ( | ) |
delete export files
Definition at line 2641 of file class.ilObjContentObjectGUI.php.
References $_SESSION, $file, and ilUtil\delDir().
ilObjContentObjectGUI::deleteMenuEntry | ( | ) |
drop a menu entry
Definition at line 3461 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::deleteStyle | ( | ) |
ilObjContentObjectGUI::downloadExportFile | ( | ) |
download export file
Definition at line 2508 of file class.ilObjContentObjectGUI.php.
References $_POST, $file, and ilUtil\deliverFile().
ilObjContentObjectGUI::downloadPDFFile | ( | ) |
download export file
Definition at line 2559 of file class.ilObjContentObjectGUI.php.
References $_POST, and ilUtil\deliverFile().
ilObjContentObjectGUI::editBibItem | ( | ) |
edit bib items (module call)
Definition at line 1169 of file class.ilObjContentObjectGUI.php.
References editBibItemObject(), ilCtrl\IL_RTOKEN_NAME, and setTabs().
ilObjContentObjectGUI::editBibItemObject | ( | $a_target = "" | ) |
edit bib items (admin call)
Definition at line 1147 of file class.ilObjContentObjectGUI.php.
Referenced by editBibItem().
ilObjContentObjectGUI::editMenuEntry | ( | ) |
edit menu entry form
Definition at line 3478 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and setTabs().
ilObjContentObjectGUI::editMenuProperties | ( | ) |
Edit menu properies.
Definition at line 568 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, __initLMMenuEditor(), ilUtil\getImagePath(), setSubTabs(), setTabs(), and ilUtil\yn2tf().
ilObjContentObjectGUI::editPublicSection | ( | ) |
Definition at line 3137 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$object, ilUtil\array_php2js(), formSelect(), setSubTabs(), setTabs(), and ilExplorer\setTargetGet().
ilObjContentObjectGUI::editStyle | ( | ) |
ilObjContentObjectGUI::editStyleProperties | ( | ) |
Edit style properties.
Definition at line 437 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, and initStylePropertiesForm().
& ilObjContentObjectGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 41 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $cmd, $ret, ilLearningProgressBaseGUI\activateStatistics(), addLocations(), ilMDEditorGUI\addObserver(), explorer(), ilObjectGUI\getCreationMode(), ilLMObjectFactory\getInstance(), LP_MODE_REPOSITORY, ilObjectGUI\omitLocator(), ilObjectGUI\prepareOutput(), and setTabs().
ilObjContentObjectGUI::explorer | ( | ) |
output explorer tree
Definition at line 728 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$ilias, ilObjectGUI\$object, 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 2330 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportHTML | ( | ) |
create html package
Definition at line 2893 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportList | ( | ) |
Definition at line 2375 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\$tree, exportMenu(), ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
ilObjContentObjectGUI::exportMenu | ( | ) |
show list of export files
Definition at line 2341 of file class.ilObjContentObjectGUI.php.
Referenced by exportList(), and viewExportLog().
ilObjContentObjectGUI::exportObject | ( | ) |
ilObjContentObjectGUI::exportSCORM | ( | ) |
create scorm package
Definition at line 2905 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::fixTree | ( | ) |
fix tree
Definition at line 2705 of file class.ilObjContentObjectGUI.php.
References ilUtil\sendSuccess().
ilObjContentObjectGUI::fixTreeConfirm | ( | ) |
confirm screen for tree fixing
Definition at line 2666 of file class.ilObjContentObjectGUI.php.
References setTabs().
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 1953 of file class.ilObjContentObjectGUI.php.
Referenced by pages().
ilObjContentObjectGUI::getPropertiesFormValues | ( | ) |
Get values for properties form.
Definition at line 373 of file class.ilObjContentObjectGUI.php.
Referenced by properties().
ilObjContentObjectGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 3015 of file class.ilObjContentObjectGUI.php.
References ilLearningProgressAccess\checkAccess().
Referenced by setTabs().
ilObjContentObjectGUI::history | ( | ) |
history
public
Definition at line 3219 of file class.ilObjContentObjectGUI.php.
References ilHistoryGUI\getHistoryTable(), and setTabs().
ilObjContentObjectGUI::ilObjContentObjectGUI | ( | $a_data, | |
$a_id = 0 , |
|||
$a_call_by_reference = true , |
|||
$a_prepare_output = false |
|||
) |
Constructor.
public
Definition at line 29 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 1244 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $file, $ilDB, ilObjectGUI\$tpl, ilPageObject\_handleImportRepositoryLinks(), ilObject\_writeImportId(), ilUtil\delDir(), initImportForm(), ilUtil\moveUploadedFile(), ilUtil\redirect(), ilUtil\sendSuccess(), and ilUtil\unzip().
ilObjContentObjectGUI::importObject | ( | ) |
display dialogue for importing XML-LeaningObjects
public
Definition at line 1231 of file class.ilObjContentObjectGUI.php.
References createObject().
ilObjContentObjectGUI::info | ( | ) |
info permissions
Definition at line 2043 of file class.ilObjContentObjectGUI.php.
References setTabs().
ilObjContentObjectGUI::initCreationForm | ( | $a_mode = "create" | ) |
Init creation form.
int | $a_mode | Edit Mode |
Definition at line 943 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setTitle().
Referenced by createObject(), and saveObject().
ilObjContentObjectGUI::initImportForm | ( | ) |
Init import form.
Definition at line 978 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), ilFormPropertyGUI\setInfo(), and ilFileInputGUI\setSuffixes().
Referenced by createObject(), and importFileObject().
ilObjContentObjectGUI::initPropertiesForm | ( | ) |
Init properties form.
Definition at line 297 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, $l, ilObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), ilUtil\img(), ilFormPropertyGUI\setInfo(), ilRadioMatrixInputGUI\setOptions(), and ilSelectInputGUI\setOptions().
Referenced by properties(), and saveProperties().
ilObjContentObjectGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 448 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjStyleSheet\_getStandardStyles(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), formSelect(), ilSelectInputGUI\setOptions(), setSubTabs(), setTabs(), and ilNonEditableValueGUI\setValue().
Referenced by editStyleProperties().
ilObjContentObjectGUI::insertChapter | ( | ) |
Insert (multiple) chapters at node.
Definition at line 3656 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilHierarchyFormGUI\getPostFirstChild(), ilHierarchyFormGUI\getPostMulti(), ilHierarchyFormGUI\getPostNodeId(), IL_FIRST_NODE, and ilLMObject\putInTree().
ilObjContentObjectGUI::insertChapterClip | ( | ) |
Insert Chapter from clipboard.
Definition at line 3692 of file class.ilObjContentObjectGUI.php.
References $_POST, $cid, $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 3235 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$ilias, __initLinkChecker(), ilLinkCheckNotify\_getNotifyStatus(), ilLMPageObject\_getPresentationTitle(), ilUtil\formCheckbox(), ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
Referenced by refreshLinkCheck(), and saveLinkCheck().
ilObjContentObjectGUI::listLinks | ( | ) |
List all broken links.
Definition at line 1657 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, and setTabs().
ilObjContentObjectGUI::moveChapter | ( | $a_parent_subobj_id = 0 | ) |
move a single chapter (selection)
Definition at line 2090 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 2297 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\clipboardCut(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::owner | ( | ) |
show owner of content object
Definition at line 2063 of file class.ilObjContentObjectGUI.php.
References setTabs().
ilObjContentObjectGUI::pages | ( | ) |
Definition at line 1502 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tree, ilPageObject\_isScheduledActivation(), ilPageObject\_lookupActive(), ilPageObject\_lookupContainsDeactivatedElements(), formSelect(), ilEditClipboard\getAction(), ilEditClipboard\getContentObjectType(), getContextPath(), ilUtil\getImagePath(), ilLMPageObject\getPageList(), IL_FIRST_NODE, setTabs(), showActions(), and ilUtil\switchColor().
ilObjContentObjectGUI::pasteChapter | ( | $a_parent_subobj_id = 0 | ) |
paste chapter
Definition at line 2156 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\_lookupContObjID(), ilEditClipboard\clear(), ilEditClipboard\getAction(), ilEditClipboard\getContentObjectId(), ilEditClipboard\getContentObjectType(), ilLMObjectFactory\getInstance(), ilObjectFactory\getInstanceByObjId(), IL_FIRST_NODE, IL_LAST_NODE, insertChapterClip(), ilTree\setTableNames(), and ilLMObject\updateInternalLinks().
Referenced by ilStructureObjectGUI\pasteChapter().
ilObjContentObjectGUI::pastePage | ( | ) |
paste page
Definition at line 1714 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 2021 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setFormAction(), and setTabs().
ilObjContentObjectGUI::permSave | ( | ) |
save permissions
Definition at line 2034 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::popup | ( | ) |
popup window for wysiwyg editor
Definition at line 831 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::proceedDragDrop | ( | ) |
proceed drag and drop operations on pages/chapters
Definition at line 842 of file class.ilObjContentObjectGUI.php.
References $_POST, and $ilCtrl.
Referenced by explorer().
ilObjContentObjectGUI::properties | ( | ) |
edit properties form
Reimplemented in ilObjDlBookGUI.
Definition at line 250 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), getPropertiesFormValues(), initPropertiesForm(), setSubTabs(), and setTabs().
Referenced by ilObjLearningModuleGUI\view().
ilObjContentObjectGUI::publishExportFile | ( | ) |
download export file
Definition at line 2529 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::refreshLinkCheck | ( | ) |
Definition at line 3345 of file class.ilObjContentObjectGUI.php.
References __initLinkChecker(), linkChecker(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 3644 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::saveBibItem | ( | ) |
save bib item (module call)
Definition at line 1206 of file class.ilObjContentObjectGUI.php.
References ilCtrl\IL_RTOKEN_NAME, saveBibItemObject(), and setTabs().
ilObjContentObjectGUI::saveBibItemObject | ( | $a_target = "" | ) |
save bib item (admin call)
Definition at line 1182 of file class.ilObjContentObjectGUI.php.
Referenced by saveBibItem().
ilObjContentObjectGUI::saveLinkCheck | ( | ) |
Definition at line 3318 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilDB, linkChecker(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuEntry | ( | ) |
save new menu entry
Definition at line 3424 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, __initLMMenuEditor(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuProperties | ( | ) |
save properties
Definition at line 705 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, __initLMMenuEditor(), ilUtil\sendSuccess(), and ilUtil\yn2tf().
ilObjContentObjectGUI::saveObject | ( | ) |
save new content object to db
Reimplemented from ilObjectGUI.
Definition at line 1014 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilObjectGUI\$tpl, initCreationForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveProperties | ( | ) |
save properties
Definition at line 407 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, ilObjectGUI\$tpl, initPropertiesForm(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::savePublicSection | ( | ) |
Definition at line 3204 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\_writePublicAccessStatus(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveStyleSettings | ( | ) |
Save style settings.
Definition at line 550 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::selectFooter | ( | ) |
select page as footer
Definition at line 3619 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::selectHeader | ( | ) |
select page as header
Definition at line 3594 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::setilLMMenu | ( | $a_offline = false , |
|
$a_export_format = "" , |
|||
$a_active = "content" , |
|||
$a_use_global_tabs = false , |
|||
$a_as_subtabs = false |
|||
) |
get lm menu html
Definition at line 2715 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, __initLMMenuEditor(), ilFrameTargetInfo\_getFrame(), ilPaymentObject\_requiresPurchaseToAccess(), and ilUtil\appendUrlParameterString().
ilObjContentObjectGUI::setSubTabs | ( | $a_active | ) |
Set sub tabs.
Definition at line 3100 of file class.ilObjContentObjectGUI.php.
References $ilSetting.
Referenced by editMenuProperties(), editPublicSection(), initStylePropertiesForm(), and properties().
ilObjContentObjectGUI::setTabs | ( | ) |
output tabs
Reimplemented from ilObjectGUI.
Definition at line 2996 of file class.ilObjContentObjectGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by addBibItem(), addMenuEntry(), ilObjDlBookGUI\addTranslation(), chapters(), confirmDeleteExportFile(), delete(), deleteBibItem(), editBibItem(), editMenuEntry(), editMenuProperties(), editPublicSection(), executeCommand(), exportList(), fixTreeConfirm(), history(), info(), initStylePropertiesForm(), linkChecker(), listLinks(), owner(), pages(), perm(), properties(), saveBibItem(), showEntrySelector(), and viewExportLog().
ilObjContentObjectGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 1980 of file class.ilObjContentObjectGUI.php.
References $d, ilObjectGUI\$lng, $name, $row, and ilUtil\getImagePath().
Referenced by chapters(), and pages().
ilObjContentObjectGUI::showEntrySelector | ( | ) |
Definition at line 3536 of file class.ilObjContentObjectGUI.php.
References $_GET, formSelect(), ilUtil\sendInfo(), ilExplorer\setExpand(), and setTabs().
ilObjContentObjectGUI::updateMenuEntry | ( | ) |
update a menu entry
Definition at line 3509 of file class.ilObjContentObjectGUI.php.
References $_POST, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::view | ( | ) |
view content object
Reimplemented in ilObjLearningModuleGUI.
Definition at line 2073 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\prepareOutput(), and ilObjectGUI\viewObject().
ilObjContentObjectGUI::viewExportLog | ( | ) |
Definition at line 2487 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tree, exportMenu(), and setTabs().
ilObjContentObjectGUI::$ctrl |
Definition at line 22 of file class.ilObjContentObjectGUI.php.