ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjLearningModuleGUI Class Reference

Class ilLearningModuleGUI. More...

+ Inheritance diagram for ilObjLearningModuleGUI:
+ Collaboration diagram for ilObjLearningModuleGUI:

Public Member Functions

 ilObjLearningModuleGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
 Constructor public.
 assignObject ()
 view ()
 view content object
- 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 ()
 properties ()
 edit properties form
 initPropertiesForm ()
 Init properties form.
 getPropertiesFormValues ()
 Get values for properties form.
 saveProperties ()
 save properties
 editStyleProperties ()
 Edit style properties.
 initStylePropertiesForm ()
 Init style properties form.
 createStyle ()
 Create Style.
 editStyle ()
 Edit Style.
 deleteStyle ()
 Delete Style.
 saveStyleSettings ()
 Save style settings.
 initMenuForm ()
 Init menu form.
 editMenuProperties ()
 Edit menu properies.
 saveMenuProperties ()
 save properties
 explorer ()
 output explorer tree
 popup ()
 popup window for wysiwyg editor
 proceedDragDrop ()
 proceed drag and drop operations on pages/chapters
 initImportForm ()
 Init import form.
 addBibItemObject ($a_target="")
 add bib item (admin call)
 addBibItem ()
 add bib item (module call)
 deleteBibItemObject ($a_target="")
 delete bib item (admin call)
 deleteBibItem ()
 delete bib item (module call)
 editBibItemObject ($a_target="")
 edit bib items (admin call)
 editBibItem ()
 edit bib items (module call)
 saveBibItemObject ($a_target="")
 save bib item (admin call)
 saveBibItem ()
 save bib item (module call)
 exportObject ()
 export object
 importObject ()
 display dialogue for importing XML-LeaningObjects
 importFileObject ()
 display status information or report errors messages in case of error
 chapters ()
 show chapters
 pages ()
 listLinks ()
 List all broken links.
 showMaintenance ()
 Show maintenance.
 activatePages ()
 activates or deactivates pages
 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
 moveChapter ($a_parent_subobj_id=0)
 move a single chapter (selection)
 copyChapter ($a_parent_subobj_id=0)
 copy a single chapter (selection)
 pasteChapter ($a_parent_subobj_id=0)
 paste chapter
 movePage ()
 move page
 cancel ()
 cancel action
 export ()
 export content object
 getPublicAccessColValue ($a_type, $a_file)
 Get public access value for export table.
 publishExportFile ($a_files)
 download export file
 downloadPDFFile ()
 download export file
 fixTreeConfirm ()
 confirm screen for tree fixing
 fixTree ()
 Fix tree.
 setilLMMenu ($a_offline=false, $a_export_format="", $a_active="content", $a_use_global_tabs=false, $a_as_subtabs=false, $a_cur_page=0)
 get lm menu html
 createPDF ()
 export content object
 exportHTML ()
 create html package
 exportSCORM ()
 create scorm package
 addLocations ($a_omit_obj_id=false)
 display locator
 listQuestions ()
 List questions.
 listBlockedUsers ()
 List blocked users.
 resetNumberOfTries ()
 Reset number of tries.
 unlockQuestion ()
 Unlock blocked question.
 sendMailToBlockedUsers ()
 Send Mail to blocked users.
 setTabs ($a_act="")
 output tabs
 setContentSubTabs ($a_active)
 Set pages tabs.
 setQuestionsSubTabs ($a_active)
 Set pages tabs.
 addTabs ($a_act="")
 Adds tabs.
 setSubTabs ($a_active)
 Set sub tabs.
 editPublicSection ()
 savePublicSection ()
 savePublicSectionAccess ()
 Saves lm access mode.
 savePublicSectionPages ()
 Saves public lm pages.
 history ()
 history
 formatInvalidLinkArray (Array $row)
 linkChecker ()
 saveLinkCheck ()
 refreshLinkCheck ()
 __initLinkChecker ()
 __initLMMenuEditor ()
 addMenuEntry ()
 display add menu entry form
 initMenuEntryForm ($a_mode="edit")
 Init menu entry form.
 saveMenuEntry ()
 save new menu entry
 deleteMenuEntry ()
 drop a menu entry
 editMenuEntry ()
 edit menu entry form
 updateMenuEntry ()
 update a menu entry
 showEntrySelector ()
 selectHeader ()
 select page as header
 selectFooter ()
 select page as footer
 saveAllTitles ()
 Save all titles of chapters/pages.
 insertChapter ()
 Insert (multiple) chapters at node.
 insertChapterClip ()
 Insert Chapter from clipboard.
 cutItems ($a_return="chapters")
 Copy items to clipboard, then cut them from the current tree.
 copyItems ()
 Copy items to clipboard.
 cutChapter ()
 Cut chapter(s)
 showExportIDsOverview ($a_validation=false)
 Show export IDs overview.
 filterHelpChapters ()
 Filter help chapters.
 saveExportIds ()
 Save export IDs.
 saveHelpMapping ()
 Save help mapping.
 showTooltipList ()
 Show export IDs overview.
 addTooltip ()
 Add tooltip.
 filterTooltips ()
 Filter tooltips.
 saveTooltips ()
 Save tooltips.
 deleteTooltips ()
 Delete tooltips.
 setPageLayoutInHierarchy ()
 Set layout for multipl pages.
 setPageLayout ($a_in_hierarchy=false)
 Set layout for multipl pages.
 initSetPageLayoutForm ()
 Init set page layout form.
 savePageLayout ()
 Save page layout.
 editGlossaries ()
 Edit automatically linked glossaries.
 showLMGlossarySelector ()
 Select LM Glossary.
 confirmGlossarySelection ()
 Confirm glossary selection.
 selectLMGlossaryLink ()
 Select a glossary and link all its terms.
 selectLMGlossary ()
 Select lm glossary.
 removeLMGlossary ()
 Remove lm glossary.
 editMasterLanguage ()
 Edit master language.
 switchToLanguage ()
 Switch to language.
 redrawHeaderAction ()
- Public Member Functions inherited from ilObjectGUI
 ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
 Constructor public.
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not)
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui
 getCreationMode ()
 get creation mode
 getAdminTabs (&$tabs_gui)
 administration tabs show only permissions and trash folder
 getHTML ()
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled
 cancelDeleteObject ()
 cancel deletion of object
 cancelObject ($in_rep=false)
 cancel action and go back to previous page public
 createObject ()
 create new object form
 cancelCreation ()
 cancel create action and go back to repository parent
 saveObject ()
 save object
 editObject ()
 edit object
 updateObject ()
 updates object entry in object_data
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g.
 isVisible ($a_ref_id, $a_type)
 viewObject ()
 list childs of current object
 deleteObject ($a_error=false)
 Display deletion confirmation screen.
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI.

Data Fields

 $object
- Data Fields inherited from ilObjContentObjectGUI
 $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

Additional Inherited Members

- Static Public Member Functions inherited from ilObjContentObjectGUI
static getMultiLangHeader ($a_lm_id, $a_gui_class)
 Get multi lang header.
static _goto ($a_target)
 redirect script
static getLayoutOption ($a_txt, $a_var, $a_def_option="")
 Save help mapping.
- Protected Member Functions inherited from ilObjContentObjectGUI
 afterSave (ilObject $a_new_object)
 Post (successful) object creation hook.
 getBlockedUsersMailSignature ()
 Get mail signature for blocked users.

Detailed Description

Member Function Documentation

ilObjLearningModuleGUI::assignObject ( )

Reimplemented from ilObjectGUI.

Definition at line 53 of file class.ilObjLearningModuleGUI.php.

Referenced by ilObjLearningModuleGUI().

{
include_once("./Modules/LearningModule/classes/class.ilObjLearningModule.php");
$this->link_params = "ref_id=".$this->ref_id;
$this->object =& new ilObjLearningModule($this->id, true);
}

+ Here is the caller graph for this function:

ilObjLearningModuleGUI::ilObjLearningModuleGUI (   $a_data,
  $a_id = 0,
  $a_call_by_reference = true,
  $a_prepare_output = true 
)

Constructor public.

Definition at line 26 of file class.ilObjLearningModuleGUI.php.

References assignObject(), and ilObjContentObjectGUI\ilObjContentObjectGUI().

{
$this->type = "lm";
parent::ilObjContentObjectGUI($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
# BETTER DO IT HERE THAN IN PARENT CLASS ( PROBLEMS FOR import, create)
$this->assignObject();
// SAME REASON
if($a_id != 0)
{
$this->lm_tree =& $this->object->getLMTree();
}
/*
global $ilias, $tpl, $lng, $objDefinition;
$this->ilias =& $ilias;
$this->tpl =& $tpl;
$this->lng =& $lng;
$this->objDefinition =& $objDefinition;
$this->lm_tree =& $a_tree;
*/
//$this->read(); todo
}

+ Here is the call graph for this function:

ilObjLearningModuleGUI::view ( )

view content object

Reimplemented from ilObjContentObjectGUI.

Definition at line 70 of file class.ilObjLearningModuleGUI.php.

References $_GET, ilObjectGUI\prepareOutput(), ilObjContentObjectGUI\properties(), and ilObjectGUI\viewObject().

{
if (strtolower($_GET["baseClass"]) == "iladministrationgui")
{
$this->prepareOutput();
}
else
{
$this->properties();
}
}

+ Here is the call graph for this function:

Field Documentation

ilObjLearningModuleGUI::$object

Definition at line 21 of file class.ilObjLearningModuleGUI.php.


The documentation for this class was generated from the following file: