ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilObjWorkspaceFolderAccess.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Services/Object/classes/class.ilObjectAccess.php"
);
6
15
class
ilObjWorkspaceFolderAccess
extends
ilObjectAccess
16
{
17
private
static
$folderSettings
;
18
19
private
static
function
getFolderSettings
() {
20
if
(is_null (
ilObjWorkspaceFolderAccess::$folderSettings
))
21
{
22
ilObjWorkspaceFolderAccess::$folderSettings
=
new
ilSetting
(
'fold'
);
23
}
24
return
ilObjWorkspaceFolderAccess::$folderSettings
;
25
}
26
27
40
static
function
_getCommands
()
41
{
42
$commands =
array
();
43
$commands[] =
array
(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"show"
,
"default"
=>
true
);
44
$commands[] =
array
(
"permission"
=>
"write"
,
"cmd"
=>
"edit"
,
"lang_var"
=>
"edit"
);
45
return
$commands;
46
}
47
}
48
49
?>
ilSetting
ILIAS Setting Class.
Definition:
class.ilSetting.php:32
ilObjWorkspaceFolderAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjWorkspaceFolderAccess.php:40
ilObjWorkspaceFolderAccess
Class ilObjWorkspaceFolderAccess.
Definition:
class.ilObjWorkspaceFolderAccess.php:15
ilObjWorkspaceFolderAccess\getFolderSettings
static getFolderSettings()
Definition:
class.ilObjWorkspaceFolderAccess.php:19
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:16
php
ilObjWorkspaceFolderAccess\$folderSettings
static $folderSettings
Definition:
class.ilObjWorkspaceFolderAccess.php:17
Modules
WorkspaceFolder
classes
class.ilObjWorkspaceFolderAccess.php
Generated on Fri Jan 24 2025 19:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)