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

PhpIncludeInspection More...

+ Inheritance diagram for ilModulesGroupExtractor:
+ Collaboration diagram for ilModulesGroupExtractor:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

PhpIncludeInspection

Class ilModulesGroupExtractor

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

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

Member Function Documentation

◆ extract()

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

Implements ilExtractor.

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

References ilBaseExtractor\$ilExtractedParams, ilBaseExtractor\extractWithoutUser(), ilBaseExtractor\extractWithUser(), and ilExtractedParams\setSubjectType().

23  {
24  $this->ilExtractedParams->setSubjectType('group');
25 
26  switch ($event) {
27  case 'addParticipant':
28  case 'deleteParticipant':
29  case 'addSubscriber':
30  case 'addToWaitingList':
31  $this->extractWithUser($parameters);
32  break;
33  case 'create':
34  case 'update':
35  case 'delete':
36  $this->extractWithoutUser($parameters);
37  }
38 
40  }
extractWithoutUser($parameters)
Class ilExtractedParams.
extractWithUser($parameters)
+ Here is the call graph for this function:

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