ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLPObjectiveItemListGUI Class Reference
+ Inheritance diagram for ilLPObjectiveItemListGUI:
+ Collaboration diagram for ilLPObjectiveItemListGUI:

Public Member Functions

 ilLPObjectiveItemListGUI ($a_obj_id)
 hasDetails ()
 setChildId ($a_obj_id)
 getChildId ()
 __readTitle ()
 __readDescription ()
 renderTypeImage ()
 __readUserStatus ()
 __readUserStatusInfo ()
 __readMark ()
 __readComment ()
- Public Member Functions inherited from ilLPObjectItemListGUI
 ilLPObjectItemListGUI ($a_id, $a_type)
 addReferences ($a_references)
 __readStatusInfo ()
 __readTypicalLearningTime ()
 renderPath ($a_force_details=true)
- Public Member Functions inherited from ilLPItemListGUI
 ilLPItemListGUI ($a_id, $a_type)
 isAnonymized ()
 setCmdClass ($a_class)
 getCmdClass ()
 setRefId ($a_ref_id)
 getRefId ()
 getId ()
 getType ()
 setCurrentUser ($a_user)
 getCurrentUser ()
 getMode ()
 getTitle ()
 getDescription ()
 getMark ()
 getComment ()
 getTypicalLearningTime ()
 enabled ($a_key)
 enable ($a_key)
 disable ($a_key)
 setIndentLevel ($a_level)
 getUserStatus ()
 getEditingTime ()
 showTimingWarning ()
 addCheckBox ($a_check)
 __readMode ()
 __readTimings ()
 getHTML ()
 read ()
 Read all necassary data for output.
 readUserInfo ()
 readTimings ()
 renderContainerProgress ()
 renderSimpleProgress ()
 renderSimpleProgressFO ()
 renderObjectList ()
 renderObjectListFO ()
 renderObjectDetails ()
 renderObjectDetailsXML (&$writer)
renderObjectInfo ($enable_details=false)
 renderObjectInfoXML (&$writer, $a_enable_progress=false, $a_enable_user_info=false)
 __readEditingTime ()
 __getPercent ($max, $reached)

Data Fields

 $child_id = null
- Data Fields inherited from ilLPObjectItemListGUI
 $references = array()
- Data Fields inherited from ilLPItemListGUI
 $db = null
 $anonymized = false

Detailed Description

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

Member Function Documentation

ilLPObjectiveItemListGUI::__readComment ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 105 of file class.ilLPObjectiveItemListGUI.php.

{
return true;
}
ilLPObjectiveItemListGUI::__readDescription ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 64 of file class.ilLPObjectiveItemListGUI.php.

References getChildId().

{
return $this->description = $this->status_info['objective_description'][$this->getChildId()];
}

+ Here is the call graph for this function:

ilLPObjectiveItemListGUI::__readMark ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 101 of file class.ilLPObjectiveItemListGUI.php.

{
return true;
}
ilLPObjectiveItemListGUI::__readTitle ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 60 of file class.ilLPObjectiveItemListGUI.php.

References getChildId().

{
return $this->title = $this->status_info['objective_title'][$this->getChildId()];
}

+ Here is the call graph for this function:

ilLPObjectiveItemListGUI::__readUserStatus ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 77 of file class.ilLPObjectiveItemListGUI.php.

References getChildId(), ilLPItemListGUI\getCurrentUser(), LP_STATUS_COMPLETED, and LP_STATUS_NOT_ATTEMPTED.

{
include_once 'Services/Tracking/classes/class.ilLPStatusWrapper.php';
if(!is_array($this->status_info['completed'][$this->getChildId()]))
{
return $this->status = LP_STATUS_NOT_ATTEMPTED;
}
if(in_array($this->getCurrentUser(),$this->status_info['completed'][$this->getChildId()]))
{
return $this->status = LP_STATUS_COMPLETED;
}
else
{
#if(in_array($this->getCurrentUser(),ilLPStatusWrapper::_getInProgress($this->getId())))
# {
return $this->status = LP_STATUS_NOT_ATTEMPTED;
}
}

+ Here is the call graph for this function:

ilLPObjectiveItemListGUI::__readUserStatusInfo ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 97 of file class.ilLPObjectiveItemListGUI.php.

{
return true;
}
ilLPObjectiveItemListGUI::getChildId ( )

Definition at line 55 of file class.ilLPObjectiveItemListGUI.php.

References $child_id.

Referenced by __readDescription(), __readTitle(), and __readUserStatus().

{
}

+ Here is the caller graph for this function:

ilLPObjectiveItemListGUI::hasDetails ( )

Reimplemented from ilLPItemListGUI.

Definition at line 47 of file class.ilLPObjectiveItemListGUI.php.

{
return false;
}
ilLPObjectiveItemListGUI::ilLPObjectiveItemListGUI (   $a_obj_id)

Definition at line 42 of file class.ilLPObjectiveItemListGUI.php.

References ilLPObjectItemListGUI\ilLPObjectItemListGUI().

{
parent::ilLPObjectItemListGUI($a_obj_id,'objective');
}

+ Here is the call graph for this function:

ilLPObjectiveItemListGUI::renderTypeImage ( )

Reimplemented from ilLPItemListGUI.

Definition at line 69 of file class.ilLPObjectiveItemListGUI.php.

References ilUtil\getImagePath().

{
$this->tpl->setCurrentBlock("row_type_image");
$this->tpl->setVariable("TYPE_IMG",ilUtil::getImagePath('icon_'.'lobj'.'.gif'));
$this->tpl->setVariable("TYPE_ALT_IMG",$this->lng->txt('obj_crs'));
$this->tpl->parseCurrentBlock();
}

+ Here is the call graph for this function:

ilLPObjectiveItemListGUI::setChildId (   $a_obj_id)

Definition at line 51 of file class.ilLPObjectiveItemListGUI.php.

{
$this->child_id = $a_obj_id;
}

Field Documentation

ilLPObjectiveItemListGUI::$child_id = null

Definition at line 40 of file class.ilLPObjectiveItemListGUI.php.

Referenced by getChildId().


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