ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBaseExtractor.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
5
require_once
'./Services/WorkflowEngine/interfaces/ilExtractor.php'
;
6
14
abstract
class
ilBaseExtractor
implements
ilExtractor
15
{
17
protected
$ilExtractedParams
;
18
24
public
function
__construct
(
ilExtractedParams
$ilExtractedParams
)
25
{
26
$this->
ilExtractedParams
=
$ilExtractedParams
;
27
}
28
35
abstract
public
function
extract
($event, $parameters);
36
40
protected
function
extractWithUser
($parameters)
41
{
42
$this->
ilExtractedParams
->
setSubjectId
($parameters[
'obj_id'
]);
43
$this->
ilExtractedParams
->
setContextType
(
'usr_id'
);
44
$this->
ilExtractedParams
->
setContextId
($parameters[
'usr_id'
]);
45
}
46
50
protected
function
extractWithoutUser
($parameters)
51
{
52
$this->
ilExtractedParams
->
setSubjectId
($parameters[
'obj_id'
]);
53
$this->
ilExtractedParams
->
setContextType
(
'null'
);
54
$this->
ilExtractedParams
->
setContextId
(0);
55
}
56
}
ilExtractedParams\setSubjectId
setSubjectId($subject_id)
Definition:
class.ilExtractedParams.php:52
ilExtractor
Interface ilExtractor.
Definition:
ilExtractor.php:7
ilBaseExtractor\extractWithoutUser
extractWithoutUser($parameters)
Definition:
class.ilBaseExtractor.php:50
ilExtractedParams\setContextType
setContextType($context_type)
Definition:
class.ilExtractedParams.php:68
ilBaseExtractor\$ilExtractedParams
$ilExtractedParams
Definition:
class.ilBaseExtractor.php:17
ilBaseExtractor\extract
extract($event, $parameters)
ilExtractedParams
Class ilExtractedParams.
Definition:
class.ilExtractedParams.php:11
ilExtractedParams\setContextId
setContextId($context_id)
Definition:
class.ilExtractedParams.php:84
ilBaseExtractor\extractWithUser
extractWithUser($parameters)
Definition:
class.ilBaseExtractor.php:40
ilBaseExtractor
PhpIncludeInspection
Definition:
class.ilBaseExtractor.php:14
ilBaseExtractor\__construct
__construct(ilExtractedParams $ilExtractedParams)
ilBaseExtractor constructor.
Definition:
class.ilBaseExtractor.php:24
Services
WorkflowEngine
classes
extractors
class.ilBaseExtractor.php
Generated on Mon Apr 7 2025 20:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)