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";
56 include_once(
'./Modules/Group/classes/class.ilObjGroupAccess.php');
75 case 'mount_webfolder':
76 require_once(
'Services/WebDAV/classes/class.ilDAVActivationChecker.php');
78 require_once(
'Services/WebDAV/classes/class.ilDAVServer.php');
85 $cmd_link = $davServer->getMountURI($this->ref_id) .
86 '" folder="' . $davServer->getFolderURI($this->ref_id);
94 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
95 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $a_cmd);
96 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id",
$_GET[
"ref_id"]);
117 $props = parent::getProperties();
120 include_once
'./Modules/Group/classes/class.ilObjGroupAccess.php';
123 if (
$info[
'reg_info_list_prop']) {
127 'property' =>
$info[
'reg_info_list_prop'][
'property'],
128 'value' =>
$info[
'reg_info_list_prop'][
'value']
131 if (
$info[
'reg_info_list_prop_limit']) {
135 'property' =>
$info[
'reg_info_list_prop_limit'][
'property'],
136 'propertyNameVisible' => strlen(
$info[
'reg_info_list_prop_limit'][
'property']) ?
true :
false,
137 'value' =>
$info[
'reg_info_list_prop_limit'][
'value']
144 include_once
'./Modules/Group/classes/class.ilGroupWaitingList.php';
148 "property" => $lng->txt(
'member_status'),
149 "value" => $lng->txt(
'on_waiting_list')
155 if (is_array($info)) {
159 'property' => $info[
'property'],
160 'value' => $info[
'value']
182 return parent::getCommandFrame($a_cmd);
198 if ($a_permission ==
'grp_linked') {
200 parent::checkCommandAccess(
'read',
'', $a_ref_id,
$a_type, $a_obj_id) ||
201 parent::checkCommandAccess(
'join',
'join', $a_ref_id,
$a_type, $a_obj_id);
203 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.
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 getInstance()
Get singelton instance.
static _isOnList($a_usr_id, $a_obj_id)
Check if a user on the waiting list.
Create styles array
The data for the language used.
getCommandFrame($a_cmd)
Get command target frame.