ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilBaseExtractor Class Reference

PhpIncludeInspection More...

+ Inheritance diagram for ilBaseExtractor:
+ Collaboration diagram for ilBaseExtractor:

Public Member Functions

 __construct (ilExtractedParams $ilExtractedParams)
 ilBaseExtractor constructor. More...
 
 extract ($event, $parameters)
 

Protected Member Functions

 extractWithUser ($parameters)
 
 extractWithoutUser ($parameters)
 

Protected Attributes

 $ilExtractedParams
 

Detailed Description

PhpIncludeInspection

Class ilBaseExtractor

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

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

Constructor & Destructor Documentation

◆ __construct()

ilBaseExtractor::__construct ( ilExtractedParams  $ilExtractedParams)

ilBaseExtractor constructor.

Parameters
\ilExtractedParams$ilExtractedParams

Definition at line 24 of file class.ilBaseExtractor.php.

References $ilExtractedParams, and extract().

25  {
27  }
Class ilExtractedParams.
+ Here is the call graph for this function:

Member Function Documentation

◆ extract()

ilBaseExtractor::extract (   $event,
  $parameters 
)
abstract
Parameters
string$event
array$parameters
Returns
mixed

Implements ilExtractor.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ extractWithoutUser()

ilBaseExtractor::extractWithoutUser (   $parameters)
protected
Parameters
array$parameters

Definition at line 50 of file class.ilBaseExtractor.php.

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

Referenced by ilModulesCategoryExtractor\extract(), ilServicesRepositoryExtractor\extract(), ilModulesOrgUnitExtractor\extract(), ilModulesGroupExtractor\extract(), ilModulesExerciseExtractor\extract(), and ilModulesCourseExtractor\extract().

51  {
52  $this->ilExtractedParams->setSubjectId($parameters['obj_id']);
53  $this->ilExtractedParams->setContextType('null');
55  }
Class ilExtractedParams.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extractWithUser()

ilBaseExtractor::extractWithUser (   $parameters)
protected
Parameters
array$parameters

Definition at line 40 of file class.ilBaseExtractor.php.

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

Referenced by ilModulesCourseExtractor\extract(), ilModulesSessionExtractor\extract(), and ilModulesGroupExtractor\extract().

41  {
42  $this->ilExtractedParams->setSubjectId($parameters['obj_id']);
43  $this->ilExtractedParams->setContextType('usr_id');
44  $this->ilExtractedParams->setContextId($parameters['usr_id']);
45  }
Class ilExtractedParams.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $ilExtractedParams


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