ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLPSAHSItemListGUI Class Reference
+ Inheritance diagram for ilLPSAHSItemListGUI:
+ Collaboration diagram for ilLPSAHSItemListGUI:

Public Member Functions

 ilLPSAHSItemListGUI ($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.ilLPSAHSItemListGUI.php.

Member Function Documentation

ilLPSAHSItemListGUI::__readComment ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 108 of file class.ilLPSAHSItemListGUI.php.

{
return true;
}
ilLPSAHSItemListGUI::__readDescription ( )

Reimplemented from ilLPObjectItemListGUI.

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

{
return $this->description = '';
}
ilLPSAHSItemListGUI::__readMark ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 104 of file class.ilLPSAHSItemListGUI.php.

{
return true;
}
ilLPSAHSItemListGUI::__readTitle ( )

Reimplemented from ilLPObjectItemListGUI.

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

References getChildId().

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

+ Here is the call graph for this function:

ilLPSAHSItemListGUI::__readUserStatus ( )

Reimplemented from ilLPObjectItemListGUI.

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

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

{
include_once 'Services/Tracking/classes/class.ilLPStatusWrapper.php';
if(in_array($this->getCurrentUser(),$this->status_info['failed'][$this->getChildId()]))
{
return $this->status = LP_STATUS_FAILED;
}
if(in_array($this->getCurrentUser(),$this->status_info['completed'][$this->getChildId()]))
{
return $this->status = LP_STATUS_COMPLETED;
}
if(in_array($this->getCurrentUser(),$this->status_info['in_progress'][$this->getChildId()]))
{
return $this->status = LP_STATUS_IN_PROGRESS;
}
else
{
return $this->status = LP_STATUS_NOT_ATTEMPTED;
}
}

+ Here is the call graph for this function:

ilLPSAHSItemListGUI::__readUserStatusInfo ( )

Reimplemented from ilLPObjectItemListGUI.

Definition at line 99 of file class.ilLPSAHSItemListGUI.php.

{
return true;
}
ilLPSAHSItemListGUI::getChildId ( )

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

References $child_id.

Referenced by __readTitle(), and __readUserStatus().

{
}

+ Here is the caller graph for this function:

ilLPSAHSItemListGUI::hasDetails ( )

Reimplemented from ilLPItemListGUI.

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

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

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

References ilLPObjectItemListGUI\ilLPObjectItemListGUI().

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

+ Here is the call graph for this function:

ilLPSAHSItemListGUI::renderTypeImage ( )

Reimplemented from ilLPItemListGUI.

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

References ilUtil\getImagePath().

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

+ Here is the call graph for this function:

ilLPSAHSItemListGUI::setChildId (   $a_obj_id)

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

{
$this->child_id = $a_obj_id;
}

Field Documentation

ilLPSAHSItemListGUI::$child_id = null

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

Referenced by getChildId().


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