ILIAS
eassessment Revision 61809
|
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 | |
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 | |
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, $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 () | |
output tabs | |
setLinkSubTabs ($a_active) | |
Set link sub tabs. | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
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) | |
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. | |
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 21 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::__initLinkChecker | ( | ) |
Definition at line 3167 of file class.ilObjContentObjectGUI.php.
References $ilDB.
Referenced by linkChecker(), and refreshLinkCheck().
ilObjContentObjectGUI::__initLMMenuEditor | ( | ) |
Definition at line 3179 of file class.ilObjContentObjectGUI.php.
Referenced by deleteMenuEntry(), editMenuEntry(), editMenuProperties(), saveMenuEntry(), saveMenuProperties(), setilLMMenu(), and updateMenuEntry().
ilObjContentObjectGUI::_forwards | ( | ) |
Definition at line 259 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 3564 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 1685 of file class.ilObjContentObjectGUI.php.
References $ilCtrl.
ilObjContentObjectGUI::activatePages | ( | ) |
activates or deactivates pages
Definition at line 1656 of file class.ilObjContentObjectGUI.php.
References $_POST, ilPageObject\_lookupActive(), and ilPageObject\_writeActive().
ilObjContentObjectGUI::addBibItem | ( | ) |
add bib item (module call)
Definition at line 1146 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 1115 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 2687 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 3192 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 2035 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::cancel | ( | ) |
cancel action
Definition at line 2296 of file class.ilObjContentObjectGUI.php.
References $_GET.
ilObjContentObjectGUI::cancelDelete | ( | ) |
ilObjContentObjectGUI::cancelFixTree | ( | ) |
cancel tree fixing
Definition at line 2438 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 2429 of file class.ilObjContentObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilObjContentObjectGUI::chapters | ( | ) |
show chapters
Definition at line 1349 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::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 1878 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 2104 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 3633 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 1757 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 906 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, 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 2650 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::createStyle | ( | ) |
ilObjContentObjectGUI::cutChapter | ( | ) |
Cut chapter(s)
Definition at line 3665 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 3600 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 1674 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 1780 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 1181 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 1159 of file class.ilObjContentObjectGUI.php.
Referenced by deleteBibItem().
ilObjContentObjectGUI::deleteMenuEntry | ( | ) |
drop a menu entry
Definition at line 3263 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::deleteStyle | ( | ) |
ilObjContentObjectGUI::downloadPDFFile | ( | ) |
download export file
Definition at line 2384 of file class.ilObjContentObjectGUI.php.
References $_POST, and ilUtil\deliverFile().
ilObjContentObjectGUI::editBibItem | ( | ) |
edit bib items (module call)
Definition at line 1217 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 1195 of file class.ilObjContentObjectGUI.php.
Referenced by editBibItem().
ilObjContentObjectGUI::editMenuEntry | ( | ) |
edit menu entry form
Definition at line 3280 of file class.ilObjContentObjectGUI.php.
References $_GET, __initLMMenuEditor(), and setTabs().
ilObjContentObjectGUI::editMenuProperties | ( | ) |
Edit menu properies.
Definition at line 605 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $type, __initLMMenuEditor(), ilUtil\getImagePath(), setSubTabs(), setTabs(), and ilUtil\yn2tf().
ilObjContentObjectGUI::editPublicSection | ( | ) |
Definition at line 2957 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 474 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, ilObjectGUI\$lng, $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 780 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 2312 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportHTML | ( | ) |
create html package
Definition at line 2661 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::exportObject | ( | ) |
ilObjContentObjectGUI::exportSCORM | ( | ) |
create scorm package
Definition at line 2673 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::fixTree | ( | ) |
fix tree
Definition at line 2446 of file class.ilObjContentObjectGUI.php.
References ilUtil\sendSuccess().
ilObjContentObjectGUI::fixTreeConfirm | ( | ) |
confirm screen for tree fixing
Definition at line 2407 of file class.ilObjContentObjectGUI.php.
References setTabs().
ilObjContentObjectGUI::formatInvalidLinkArray | ( | Array | $row | ) |
array | Unformatted array |
Implements ilLinkCheckerGUIRowHandling.
Definition at line 3062 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 1935 of file class.ilObjContentObjectGUI.php.
References $path.
Referenced by pages().
ilObjContentObjectGUI::getPropertiesFormValues | ( | ) |
Get values for properties form.
Definition at line 405 of file class.ilObjContentObjectGUI.php.
Referenced by properties().
ilObjContentObjectGUI::getPublicAccessColValue | ( | $a_type, | |
$a_file | |||
) |
Get public access value for export table.
Definition at line 2323 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
ilObjContentObjectGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 2839 of file class.ilObjContentObjectGUI.php.
References ilLearningProgressAccess\checkAccess().
Referenced by setTabs().
ilObjContentObjectGUI::history | ( | ) |
history
public
Definition at line 3039 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 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 1292 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 1279 of file class.ilObjContentObjectGUI.php.
References createObject().
ilObjContentObjectGUI::info | ( | ) |
info permissions
Definition at line 2025 of file class.ilObjContentObjectGUI.php.
References setTabs().
ilObjContentObjectGUI::initCreationForm | ( | $a_mode = "create" | ) |
Init creation form.
int | $a_mode | Edit Mode |
Definition at line 995 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 1030 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 314 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, $l, ilObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), ilUtil\img(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilRadioMatrixInputGUI\setOptions(), and ilFormPropertyGUI\setRequired().
Referenced by properties(), and saveProperties().
ilObjContentObjectGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 485 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 3458 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 3494 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 3084 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$ilias, ilObjectGUI\$tpl, __initLinkChecker(), ilLinkCheckNotify\_getNotifyStatus(), setLinkSubTabs(), setTabs(), and ilCheckboxInputGUI\setValue().
Referenced by refreshLinkCheck(), and saveLinkCheck().
ilObjContentObjectGUI::listLinks | ( | ) |
List all broken links.
Definition at line 1638 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$tpl, setLinkSubTabs(), and setTabs().
ilObjContentObjectGUI::listQuestions | ( | ) |
List questions.
@return |
Definition at line 2771 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 2072 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 2279 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\clipboardCut(), ilEditClipboard\setAction(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::owner | ( | ) |
show owner of content object
Definition at line 2045 of file class.ilObjContentObjectGUI.php.
References setTabs().
ilObjContentObjectGUI::pages | ( | ) |
Definition at line 1483 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 2138 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 1696 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 2003 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setFormAction(), and setTabs().
ilObjContentObjectGUI::permSave | ( | ) |
save permissions
Definition at line 2016 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\setReturnLocation().
ilObjContentObjectGUI::popup | ( | ) |
popup window for wysiwyg editor
Definition at line 883 of file class.ilObjContentObjectGUI.php.
ilObjContentObjectGUI::proceedDragDrop | ( | ) |
proceed drag and drop operations on pages/chapters
Definition at line 894 of file class.ilObjContentObjectGUI.php.
References $_POST, and $ilCtrl.
Referenced by explorer().
ilObjContentObjectGUI::properties | ( | ) |
edit properties form
Reimplemented in ilObjDlBookGUI.
Definition at line 267 of file class.ilObjContentObjectGUI.php.
References ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), getPropertiesFormValues(), initPropertiesForm(), setSubTabs(), and setTabs().
Referenced by ilObjLearningModuleGUI\view().
ilObjContentObjectGUI::publishExportFile | ( | $a_files | ) |
download export file
Definition at line 2351 of file class.ilObjContentObjectGUI.php.
References $f, $file, $ilCtrl, and ilUtil\sendFailure().
ilObjContentObjectGUI::refreshLinkCheck | ( | ) |
Definition at line 3147 of file class.ilObjContentObjectGUI.php.
References __initLinkChecker(), linkChecker(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveAllTitles | ( | ) |
Save all titles of chapters/pages.
Definition at line 3446 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, ilLMObject\saveTitles(), and ilUtil\stripSlashesArray().
ilObjContentObjectGUI::saveBibItem | ( | ) |
save bib item (module call)
Definition at line 1254 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 1230 of file class.ilObjContentObjectGUI.php.
Referenced by saveBibItem().
ilObjContentObjectGUI::saveLinkCheck | ( | ) |
Definition at line 3120 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilDB, linkChecker(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuEntry | ( | ) |
save new menu entry
Definition at line 3226 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilCtrl, __initLMMenuEditor(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveMenuProperties | ( | ) |
save properties
Definition at line 757 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 1066 of file class.ilObjContentObjectGUI.php.
References $_GET, $_POST, ilObjectGUI\$tpl, initCreationForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveProperties | ( | ) |
save properties
Definition at line 441 of file class.ilObjContentObjectGUI.php.
References $_POST, ilObjectGUI\$ilias, ilObjectGUI\$tpl, initPropertiesForm(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::savePublicSection | ( | ) |
Definition at line 3024 of file class.ilObjContentObjectGUI.php.
References $_POST, ilLMObject\_writePublicAccessStatus(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::saveStyleSettings | ( | ) |
Save style settings.
Definition at line 587 of file class.ilObjContentObjectGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjContentObjectGUI::selectFooter | ( | ) |
select page as footer
Definition at line 3421 of file class.ilObjContentObjectGUI.php.
References $_POST.
ilObjContentObjectGUI::selectHeader | ( | ) |
select page as header
Definition at line 3396 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 , |
|||
$a_cur_page = 0 |
|||
) |
get lm menu html
Definition at line 2456 of file class.ilObjContentObjectGUI.php.
References $_GET, $ilCtrl, __initLMMenuEditor(), ilFrameTargetInfo\_getFrame(), ilPaymentObject\_requiresPurchaseToAccess(), ilUtil\appendUrlParameterString(), ilPluginAdmin\getPluginObject(), and IL_COMP_SERVICE.
ilObjContentObjectGUI::setLinkSubTabs | ( | $a_active | ) |
Set link sub tabs.
@return |
Definition at line 2811 of file class.ilObjContentObjectGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by linkChecker(), and listLinks().
ilObjContentObjectGUI::setSubTabs | ( | $a_active | ) |
Set sub tabs.
Definition at line 2920 of file class.ilObjContentObjectGUI.php.
References $ilSetting.
Referenced by editMenuProperties(), editPublicSection(), initStylePropertiesForm(), and properties().
ilObjContentObjectGUI::setTabs | ( | ) |
output tabs
Reimplemented from ilObjectGUI.
Definition at line 2791 of file class.ilObjContentObjectGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by addBibItem(), addMenuEntry(), ilObjDlBookGUI\addTranslation(), chapters(), delete(), deleteBibItem(), editBibItem(), editMenuEntry(), editMenuProperties(), editPublicSection(), executeCommand(), fixTreeConfirm(), history(), info(), initStylePropertiesForm(), linkChecker(), listLinks(), listQuestions(), owner(), pages(), perm(), properties(), saveBibItem(), and showEntrySelector().
ilObjContentObjectGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 1962 of file class.ilObjContentObjectGUI.php.
References $d, ilObjectGUI\$lng, $name, $row, and ilUtil\getImagePath().
Referenced by chapters(), and pages().
ilObjContentObjectGUI::showEntrySelector | ( | ) |
Definition at line 3338 of file class.ilObjContentObjectGUI.php.
References $_GET, formSelect(), ilUtil\sendInfo(), ilExplorer\setExpand(), and setTabs().
ilObjContentObjectGUI::updateMenuEntry | ( | ) |
update a menu entry
Definition at line 3311 of file class.ilObjContentObjectGUI.php.
References $_POST, __initLMMenuEditor(), and ilUtil\sendSuccess().
ilObjContentObjectGUI::view | ( | ) |
view content object
Reimplemented in ilObjLearningModuleGUI.
Definition at line 2055 of file class.ilObjContentObjectGUI.php.
References $_GET, ilObjectGUI\prepareOutput(), and ilObjectGUI\viewObject().
ilObjContentObjectGUI::$ctrl |
Definition at line 23 of file class.ilObjContentObjectGUI.php.