19declare(strict_types=1);
32 public function __construct(
int $a_context = self::CONTEXT_REPOSITORY)
36 $this->rbacsystem =
$DIC->rbac()->system();
43 public function init(): void
45 $this->static_link_enabled =
true;
46 $this->delete_enabled =
true;
47 $this->cut_enabled =
true;
48 $this->copy_enabled =
true;
49 $this->subscribe_enabled =
true;
50 $this->link_enabled =
false;
51 $this->info_screen_enabled =
true;
53 $this->gui_class_name =
"ilobjgroupgui";
65 public function getCommandLink(
string $cmd): string
69 case 'mount_webfolder':
72 $webdav =
$DIC[ILIAS\WebDAV\Environment::class];
73 if ($webdav->isActive()) {
74 $cmd_link = $webdav->getUriToMountInstructionModalByRef($this->ref_id);
84 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
85 $cmd_link = $this->
ctrl->getLinkTargetByClass(
"ilrepositorygui", $cmd);
86 $this->
ctrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->requested_ref_id);
98 $props = parent::getProperties();
101 if (isset(
$info[
'reg_info_list_prop'])) {
105 'property' =>
$info[
'reg_info_list_prop'][
'property'],
106 'value' =>
$info[
'reg_info_list_prop'][
'value']
109 if (isset(
$info[
'reg_info_list_prop_limit'])) {
113 'property' =>
$info[
'reg_info_list_prop_limit'][
'property'],
114 'propertyNameVisible' => strlen(
$info[
'reg_info_list_prop_limit'][
'property']) ?
true :
false,
115 'value' =>
$info[
'reg_info_list_prop_limit'][
'value']
125 "property" => $this->
lng->txt(
'member_status'),
126 "value" => $this->lng->txt(
'on_waiting_list')
132 if (is_array(
$info)) {
136 'property' =>
$info[
'property'],
137 'value' =>
$info[
'value']
149 return parent::getCommandFrame($cmd);
164 if ($permission ==
'grp_linked') {
static _getInstanceByObjectType(string $a_type)
static lookupPeriodInfo(int $a_obj_id)
static _getCommands()
@inheritDoc
static lookupRegistrationInfo(int $a_obj_id)
getCommandFrame(string $cmd)
@inheritDoc
__construct(int $a_context=self::CONTEXT_REPOSITORY)
checkCommandAccess(string $permission, string $cmd, int $ref_id, string $type, ?int $obj_id=null)
@inheritDoc
getProperties()
@inheritDoc
enableSubstitutions(bool $status)
static _lookupType(int $id, bool $reference=false)
class ilRbacSystem system function like checkAccess, addActiveRole ... Supporting system functions ar...
static _isOnList(int $a_usr_id, int $a_obj_id)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
if(!file_exists('../ilias.ini.php'))