25 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
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";
59 include_once(
'./Modules/Group/classes/class.ilObjGroupAccess.php');
80 case 'mount_webfolder':
81 require_once(
'Services/WebDAV/classes/class.ilDAVActivationChecker.php');
83 require_once(
'Services/WebDAV/classes/class.ilWebDAVUtil.php');
90 $cmd_link = $dav_util->getMountURI($this->ref_id) .
91 '" folder="' . $dav_util->getFolderURI($this->ref_id);
99 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
100 $cmd_link =
$ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
101 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
122 $rbacsystem = $DIC[
'rbacsystem'];
126 $props = parent::getProperties();
129 include_once
'./Modules/Group/classes/class.ilObjGroupAccess.php';
132 if (
$info[
'reg_info_list_prop']) {
136 'property' =>
$info[
'reg_info_list_prop'][
'property'],
137 'value' =>
$info[
'reg_info_list_prop'][
'value']
140 if (
$info[
'reg_info_list_prop_limit']) {
144 'property' =>
$info[
'reg_info_list_prop_limit'][
'property'],
145 'propertyNameVisible' => strlen(
$info[
'reg_info_list_prop_limit'][
'property']) ?
true :
false,
146 'value' =>
$info[
'reg_info_list_prop_limit'][
'value']
153 include_once
'./Modules/Group/classes/class.ilGroupWaitingList.php';
157 "property" =>
$lng->txt(
'member_status'),
158 "value" =>
$lng->txt(
'on_waiting_list')
164 if (is_array($info)) {
168 'property' => $info[
'property'],
169 'value' => $info[
'value']
191 return parent::getCommandFrame($a_cmd);
207 if ($a_permission ==
'grp_linked') {
209 parent::checkCommandAccess(
'read',
'', $a_ref_id,
$a_type, $a_obj_id) ||
210 parent::checkCommandAccess(
'join',
'join', $a_ref_id,
$a_type, $a_obj_id);
212 return parent::checkCommandAccess($a_permission, $a_cmd, $a_ref_id,
$a_type, $a_obj_id);
getCommandLink($a_cmd)
Overwrite this method, if link target is not build by ctrl class (e.g.
checkCommandAccess($a_permission, $a_cmd, $a_ref_id, $a_type, $a_obj_id="")
Workaround for course titles (linked if join or read permission is granted)
static _isActive()
Static getter.
enableSubstitutions($a_status)
Enable substitutions.
static _getInstanceByObjectType($a_type)
Singleton: use this method to get an instance.
static _getCommands()
get commands
static lookupRegistrationInfo($a_obj_id)
Lookup registration info ilDB $ilDB ilObjUser $ilUser ilLanguage $lng.
static lookupPeriodInfo($a_obj_id)
Lookup course period info.
getProperties()
Get item properties.
static _isOnList($a_usr_id, $a_obj_id)
Check if a user on the waiting list.
getCommandFrame($a_cmd)
Get command target frame.
static getInstance()
Get singleton instance.