28 $this->access = $DIC->access();
40 if ($ilAccess->checkAccess(
'write',
'', $this->getRefId())) {
55 $lng->loadLanguageModule(
'exc');
65 $this->tpl->setCurrentBlock(
'sea_fragment');
66 $this->tpl->setVariable(
'TXT_FRAGMENT', $this->
getHighlighter()->getContent($this->
getObjId(), $sub_item));
67 $this->tpl->parseCurrentBlock();
69 $this->tpl->setCurrentBlock(
'subitem');
70 $this->tpl->setVariable(
'SUBITEM_TYPE',
$lng->txt(
'exc_assignment'));
71 $this->tpl->setVariable(
'SEPERATOR',
':');
73 #$link_data = ilLinkResourceItems::lookupItem($this->getObjId(),$sub_item); 74 #$link_data = ilParameterAppender::_append($link_data); 76 #$this->getItemListGUI()->setChildId($sub_item); 77 $this->tpl->setVariable(
'LINK',
'ilias.php?baseClass=ilExerciseHandlerGUI&cmd=showOverview&ref_id=' . $this->
getRefId() .
'&ass_id=' . $sub_item);
84 $this->tpl->parseCurrentBlock();
89 return $valid ? $this->tpl->get() :
'';
getHighlighter()
get highlighter
Base class for all sub item list gui's.
showDetailsLink()
show details link
static lookupAssignmentOnline($a_ass_id)
Check if assignment is online.
__construct($a_cmd_class)
Constructor.
__construct(Container $dic, ilPlugin $plugin)
parseRelevance($sub_item)
static lookupTitle($a_id)
Lookup title.
Represents search sub item lists.
isAssignmentVisible($a_ass_id)
Check if read access to assignments is granted.
getSubItemIds($a_limited=false)
get sub item ids