Public Member Functions | |
ilLPSAHSItemListGUI ($a_obj_id) | |
hasDetails () | |
setChildId ($a_obj_id) | |
getChildId () | |
__readTitle () | |
__readDescription () | |
renderTypeImage () | |
__readUserStatus () | |
__readUserStatusInfo () | |
__readMark () | |
__readComment () | |
Data Fields | |
$child_id = null |
Definition at line 38 of file class.ilLPSAHSItemListGUI.php.
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()]; }
ilLPSAHSItemListGUI::__readUserStatus | ( | ) |
Reimplemented from ilLPObjectItemListGUI.
Definition at line 77 of file class.ilLPSAHSItemListGUI.php.
References getChildId(), and ilLPItemListGUI::getCurrentUser().
{ 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; } }
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.
Referenced by __readTitle(), and __readUserStatus().
{
return $this->child_id;
}
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'); }
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(); }
ilLPSAHSItemListGUI::setChildId | ( | $ | a_obj_id | ) |
Definition at line 51 of file class.ilLPSAHSItemListGUI.php.
{ $this->child_id = $a_obj_id; }
ilLPSAHSItemListGUI::$child_id = null |
Definition at line 40 of file class.ilLPSAHSItemListGUI.php.