ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilServicesTrackingExtractor Class Reference

PhpIncludeInspection More...

+ Inheritance diagram for ilServicesTrackingExtractor:
+ Collaboration diagram for ilServicesTrackingExtractor:

Public Member Functions

 extract ($event, $parameters)
 
- Public Member Functions inherited from ilBaseExtractor
 __construct (ilExtractedParams $ilExtractedParams)
 ilBaseExtractor constructor. More...
 
 extract ($event, $parameters)
 

Protected Member Functions

 extractTracking ($parameters)
 
- Protected Member Functions inherited from ilBaseExtractor
 extractWithUser ($parameters)
 
 extractWithoutUser ($parameters)
 

Additional Inherited Members

- Protected Attributes inherited from ilBaseExtractor
 $ilExtractedParams
 

Detailed Description

PhpIncludeInspection

Class ilServicesTrackingExtractor

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 14 of file class.ilServicesTrackingExtractor.php.

Member Function Documentation

◆ extract()

ilServicesTrackingExtractor::extract (   $event,
  $parameters 
)
Parameters
string$event
array$parameters
Returns

Implements ilExtractor.

Definition at line 22 of file class.ilServicesTrackingExtractor.php.

References ilBaseExtractor\$ilExtractedParams, and extractTracking().

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 
33  }
+ Here is the call graph for this function:

◆ extractTracking()

ilServicesTrackingExtractor::extractTracking (   $parameters)
protected
Parameters
array$parameters

Definition at line 38 of file class.ilServicesTrackingExtractor.php.

References ilExtractedParams\setContextId(), ilExtractedParams\setContextType(), ilExtractedParams\setSubjectId(), and ilExtractedParams\setSubjectType().

Referenced by extract().

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  }
Class ilExtractedParams.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: