ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilServicesTrackingExtractor.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/classes/extractors/class.ilBaseExtractor.php'
;
6
14
class
ilServicesTrackingExtractor
extends
ilBaseExtractor
15
{
22
public
function
extract
($event, $parameters)
23
{
24
//$this->ilExtractedParams->setSubjectType('tracking'); See below what we do here different from other impl.
25
26
switch
($event) {
27
case
'updateStatus'
:
28
$this->
extractTracking
($parameters);
29
break
;
30
}
31
32
return
$this->ilExtractedParams
;
33
}
34
38
protected
function
extractTracking
($parameters)
39
{
40
$this->
ilExtractedParams
->
setSubjectType
(
'tracking_'
. $parameters[
'status'
]);
41
$this->
ilExtractedParams
->
setSubjectId
($parameters[
'obj_id'
]);
42
$this->
ilExtractedParams
->
setContextType
(
'usr_id'
);
43
$this->
ilExtractedParams
->
setContextId
($parameters[
'usr_id'
]);
44
}
45
}
ilExtractedParams\setSubjectId
setSubjectId($subject_id)
Definition:
class.ilExtractedParams.php:52
ilServicesTrackingExtractor
PhpIncludeInspection
Definition:
class.ilServicesTrackingExtractor.php:14
ilExtractedParams\setContextType
setContextType($context_type)
Definition:
class.ilExtractedParams.php:68
ilBaseExtractor\$ilExtractedParams
$ilExtractedParams
Definition:
class.ilBaseExtractor.php:17
ilExtractedParams
Class ilExtractedParams.
Definition:
class.ilExtractedParams.php:11
ilExtractedParams\setContextId
setContextId($context_id)
Definition:
class.ilExtractedParams.php:84
ilServicesTrackingExtractor\extractTracking
extractTracking($parameters)
Definition:
class.ilServicesTrackingExtractor.php:38
ilBaseExtractor
PhpIncludeInspection
Definition:
class.ilBaseExtractor.php:14
ilServicesTrackingExtractor\extract
extract($event, $parameters)
Definition:
class.ilServicesTrackingExtractor.php:22
php
ilExtractedParams\setSubjectType
setSubjectType($subject_type)
Definition:
class.ilExtractedParams.php:36
Services
WorkflowEngine
classes
extractors
class.ilServicesTrackingExtractor.php
Generated on Thu Jan 30 2025 19:02:09 for ILIAS by
1.8.13 (using
Doxyfile
)