ILIAS
trunk Revision v11.0_alpha-1689-g66c127b4ae8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilUserActionProvider.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Language\Language
;
22
27
abstract
class
ilUserActionProvider
28
{
29
protected
int
$user_id
;
30
protected
Language
$lng
;
31
protected
ilDBInterface
$db
;
32
33
public
function
__construct
()
34
{
35
global
$DIC
;
36
37
$this->
lng
= $DIC->language();
38
$this->db = $DIC->database();
39
}
40
41
public
function
setUserId
(
int
$a_val): void
42
{
43
$this->user_id = $a_val;
44
}
45
46
public
function
getUserId
():
int
47
{
48
return
$this->user_id
;
49
}
50
54
abstract
public
function
collectActionsForTargetUser
(
int
$a_target_user):
ilUserActionCollection
;
55
59
abstract
public
function
getComponentId
(): string;
60
64
abstract
public
function
getActionTypes
(): array;
65
66
public
function
getJsScripts
(
string
$a_action_type): array
67
{
68
return
[];
69
}
70
}
Language
ilUserActionProvider
A class that provides a collection of actions on users.
Definition:
class.ilUserActionProvider.php:27
ilUserActionProvider\getUserId
getUserId()
Definition:
class.ilUserActionProvider.php:46
ilUserActionCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilUserActionCollection.php:23
ilUserActionProvider\$user_id
int $user_id
Definition:
class.ilUserActionProvider.php:29
ilUserActionProvider\collectActionsForTargetUser
collectActionsForTargetUser(int $a_target_user)
Collect actions for a target user.
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
$DIC
global $DIC
Definition:
shib_login.php:22
ilUserActionProvider\setUserId
setUserId(int $a_val)
Definition:
class.ilUserActionProvider.php:41
ilDBInterface
ilUserActionProvider\$lng
Language $lng
Definition:
class.ilUserActionProvider.php:30
ilUserActionProvider\getJsScripts
getJsScripts(string $a_action_type)
Definition:
class.ilUserActionProvider.php:66
ilUserActionProvider\getComponentId
getComponentId()
ilUserActionProvider\getActionTypes
getActionTypes()
ilUserActionProvider\$db
ilDBInterface $db
Definition:
class.ilUserActionProvider.php:31
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilUserActionProvider\__construct
__construct()
Definition:
class.ilUserActionProvider.php:33
ILIAS\Language\Language
Definition:
Language.php:23
components
ILIAS
User
classes
Actions
class.ilUserActionProvider.php
Generated on Wed Apr 2 2025 23:04:06 for ILIAS by
1.8.13 (using
Doxyfile
)