Public Member Functions | Data Fields

ilObjLearningModuleGUI Class Reference

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

Data Fields

 $object

Detailed Description

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


Member Function Documentation

ilObjLearningModuleGUI::assignObject (  ) 

Reimplemented from ilObjectGUI.

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

Referenced by ilObjLearningModuleGUI().

        {
                include_once("content/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 43 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 87 of file class.ilObjLearningModuleGUI.php.

References ilObjContentObjectGUI::properties().

        {
                $this->properties();
        }

Here is the call graph for this function:


Field Documentation

ilObjLearningModuleGUI::$object

Reimplemented from ilObjectGUI.

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


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