19declare(strict_types=1);
41 public static function type(): string
49 $this->
lng->loadLanguageModule(
'exc');
50 $this->data_factory =
new DataFactory();
52 $this->permanent_link =
$dic->exercise()->internal()->gui()->permanentLink();
60 foreach ($subitem_ids as $subitem_id) {
64 $link = $this->data_factory->uri(
65 $this->permanent_link->getPermanentLink($parent_ref_id, (
int) $subitem_id->id())
72 $this->lng->txt(
'exc_assignment')
Customizing of pimple-DIC for ILIAS.
access()
Get interface for access checks.
language()
Get interface to the i18n service.
Link to exercise: goto.php?target=exc_<exc_ref_id> Link to assignment: goto.php?target=exc_<exc_ref_i...
PermanentLinkManager $permanent_link
DataFactory $data_factory
getSubitemProperties(PropertiesFactory $factory, int $parent_ref_id, ID ... $subitem_ids)
Order of the output should respect the order of the subitem_ids.
isAssignmentVisible(int $ref_id, int $subitem_id)
static type()
Type of the parent object.
Class ilAccessHandler Checks access for ILIAS objects.
static lookupAssignmentOnline(int $a_ass_id)
static lookupTitle(int $a_id)
get(ID $id, string $title, ?URI $link_to_subitem, bool $open_link_in_new_viewport, string $presentable_subitem_type)
if(!file_exists('../ilias.ini.php'))