ILIAS  Release_4_1_x_branch Revision 61804
 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.
 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
 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

 $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

Additional Inherited Members

- 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="")

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: