33 $f = $this->dic->ui()->factory();
40 $title = $this->dic->language()->txt(
"obj_dshs");
42 $id = (int) reset($objects_by_type)[
'obj_id'];
44 $admin_ref_id = (int) reset($references);
46 if ($admin_ref_id > 0) {
47 $action =
"ilias.php?baseClass=ilAdministrationGUI&ref_id=" . $admin_ref_id .
"&cmd=jump";
48 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
"dshs", $title)
49 ->withIsOutlined(
true);
51 $items[] = $this->mainmenu->link($this->
if->identifier(
'mm_adm_dshs'))
57 ->withVisibilityCallable(
function() use($admin_ref_id){
58 return $this->dic->rbac()->system()->checkAccess(
'visible,read', $admin_ref_id);
static _getObjectsByType($a_obj_type="", $a_owner="")
Interface StaticMainMenuProvider.
static _getAllReferences($a_id)
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias