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 () | |
Data Fields | |
| $child_id = null | |
Definition at line 38 of file class.ilLPObjectiveItemListGUI.php.
| 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(), and ilLPItemListGUI::getCurrentUser().
{
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.
Referenced by __readDescription(), __readTitle(), and __readUserStatus().
{
return $this->child_id;
}
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;
}
| ilLPObjectiveItemListGUI::$child_id = null |
Definition at line 40 of file class.ilLPObjectiveItemListGUI.php.
1.7.1