ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilObjLearningModuleAccess.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Modules/LearningModule/classes/class.ilObjContentObjectAccess.php"
);
6
include_once
'./Services/AccessControl/interfaces/interface.ilConditionHandling.php'
;
7
17
class
ilObjLearningModuleAccess
extends
ilObjContentObjectAccess
implements
ilConditionHandling
18
{
22
public
static
function
getConditionOperators
()
23
{
24
// currently only one mode "ilConditionHandler::OPERATOR_LP"
25
// which is automatically added by condition handling, if lp is activated
26
return
array();
27
}
28
29
38
public
static
function
checkCondition
($a_trigger_obj_id,$a_operator,$a_value,$a_usr_id)
39
{
40
return
TRUE;
41
}
42
55
function
_getCommands
()
56
{
57
$commands = array
58
(
59
array(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"show"
,
60
"default"
=>
true
),
61
array(
"permission"
=>
"read"
,
"cmd"
=>
"continue"
,
"lang_var"
=>
"continue_work"
),
62
array(
"permission"
=>
"write"
,
"cmd"
=>
"edit"
,
"lang_var"
=>
"edit_content"
),
63
array(
"permission"
=>
"write"
,
"cmd"
=>
"properties"
,
"lang_var"
=>
"settings"
)
64
);
65
66
return
$commands;
67
}
68
69
}
70
71
?>
Modules
LearningModule
classes
class.ilObjLearningModuleAccess.php
Generated on Wed Apr 27 2016 21:01:09 for ILIAS by
1.8.1.2 (using
Doxyfile
)