ILIAS
eassessment Revision 61809
|
Class ilObjDlBookGUI. More...
Public Member Functions | |
ilObjDlBookGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor. | |
assignObject () | |
showCitation ($page_xml) | |
showAbstract ($a_target_id) | |
show abstract of digilib book | |
export () | |
exports the digi-lib-object into a xml structure | |
offlineexportform () | |
print export-form to screen | |
setilCitationMenu () | |
setilLMMenu () | |
digilib book menu | |
properties () | |
edit properties form | |
addTranslation () | |
deleteTranslation () | |
showTranslationSelect ($a_result) | |
searchTranslation ($a_search_str) | |
getContextPath ($a_endnode_id, $a_startnode_id=1) | |
get context path in content object tree | |
__checkCitationPost (&$message) | |
__parseCitationPost () | |
__applyCitationText ($page_xml, $a_start, $a_end) | |
Public Member Functions inherited from ilObjContentObjectGUI | |
ilObjContentObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=false) | |
Constructor. | |
& | executeCommand () |
execute command | |
_forwards () | |
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 | |
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 | |
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. |
Additional Inherited Members | |
Data Fields inherited from ilObjContentObjectGUI | |
$ctrl | |
Protected Member Functions inherited from ilObjectGUI | |
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 ilObjDlBookGUI.
ilObjDlBookGUI: ilLMPageObjectGUI, ilStructureObjectGUI, ilObjStyleSheetGUI, ilMDEditorGUI ilObjDlBookGUI: ilLearningProgressGUI, ilPermissionGUI, ilInfoScreenGUI ilObjDlBookGUI: ilExportGUI
Definition at line 40 of file class.ilObjDlBookGUI.php.
ilObjDlBookGUI::__applyCitationText | ( | $page_xml, | |
$a_start, | |||
$a_end | |||
) |
Definition at line 645 of file class.ilObjDlBookGUI.php.
References ilObjectGUI\$tpl, xslt_create(), and xslt_process().
Referenced by showCitation().
ilObjDlBookGUI::__checkCitationPost | ( | & | $message | ) |
Definition at line 591 of file class.ilObjDlBookGUI.php.
References $_POST.
ilObjDlBookGUI::__parseCitationPost | ( | ) |
Definition at line 601 of file class.ilObjDlBookGUI.php.
References $_POST.
Referenced by showCitation().
ilObjDlBookGUI::addTranslation | ( | ) |
Definition at line 426 of file class.ilObjDlBookGUI.php.
References $_POST, exit, searchTranslation(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilObjContentObjectGUI\setTabs(), and showTranslationSelect().
ilObjDlBookGUI::assignObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 61 of file class.ilObjDlBookGUI.php.
Referenced by ilObjDlBookGUI().
ilObjDlBookGUI::deleteTranslation | ( | ) |
Definition at line 492 of file class.ilObjDlBookGUI.php.
References $_POST, exit, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjDlBookGUI::export | ( | ) |
exports the digi-lib-object into a xml structure
Reimplemented from ilObjContentObjectGUI.
Definition at line 265 of file class.ilObjDlBookGUI.php.
References $_GET.
ilObjDlBookGUI::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 from ilObjContentObjectGUI.
Definition at line 564 of file class.ilObjDlBookGUI.php.
References $path, and ilObjectGUI\$tree.
Referenced by showTranslationSelect().
ilObjDlBookGUI::ilObjDlBookGUI | ( | $a_data, | |
$a_id = 0 , |
|||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Constructor.
public
Definition at line 47 of file class.ilObjDlBookGUI.php.
References assignObject(), and ilObjContentObjectGUI\ilObjContentObjectGUI().
ilObjDlBookGUI::offlineexportform | ( | ) |
print export-form to screen
@access | public |
Definition at line 279 of file class.ilObjDlBookGUI.php.
References $_GET.
ilObjDlBookGUI::properties | ( | ) |
edit properties form
Reimplemented from ilObjContentObjectGUI.
Definition at line 396 of file class.ilObjDlBookGUI.php.
References ilObjectFactory\getInstanceByRefId().
ilObjDlBookGUI::searchTranslation | ( | $a_search_str | ) |
Definition at line 539 of file class.ilObjDlBookGUI.php.
References $_POST, $_SESSION, exit, and ilUtil\sendInfo().
Referenced by addTranslation().
ilObjDlBookGUI::setilCitationMenu | ( | ) |
Definition at line 322 of file class.ilObjDlBookGUI.php.
References $_GET.
ilObjDlBookGUI::setilLMMenu | ( | ) |
digilib book menu
Definition at line 348 of file class.ilObjDlBookGUI.php.
ilObjDlBookGUI::showAbstract | ( | $a_target_id | ) |
show abstract of digilib book
Definition at line 129 of file class.ilObjDlBookGUI.php.
References $_POST, ilObjStyleSheet\getContentStylePath(), ilObjectFactory\getInstanceByRefId(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\sendInfo(), xslt_create(), and xslt_process().
ilObjDlBookGUI::showCitation | ( | $page_xml | ) |
Definition at line 70 of file class.ilObjDlBookGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, __applyCitationText(), __parseCitationPost(), ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), xslt_create(), and xslt_process().
ilObjDlBookGUI::showTranslationSelect | ( | $a_result | ) |
Definition at line 506 of file class.ilObjDlBookGUI.php.
References $path, getContextPath(), and ilObjectFactory\getInstanceByRefId().
Referenced by addTranslation().