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

PhpIncludeInspection More...

+ Inheritance diagram for ilServicesObjectExtractor:
+ Collaboration diagram for ilServicesObjectExtractor:

Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from ilBaseExtractor
 $ilExtractedParams
 

Detailed Description

PhpIncludeInspection

Class ilServicesObjectExtractor

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

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

Member Function Documentation

◆ extract()

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

Implements ilExtractor.

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

References ilBaseExtractor\$ilExtractedParams, extractObject(), and ilExtractedParams\setSubjectType().

23  {
24  $this->ilExtractedParams->setSubjectType('object');
25 
26  switch ($event) {
27  case 'create':
28  case 'update':
29  $this->extractObject($parameters);
30  break;
31  }
32 
34  }
Class ilExtractedParams.
+ Here is the call graph for this function:

◆ extractObject()

ilServicesObjectExtractor::extractObject (   $parameters)
protected
Parameters
array$parameters

Definition at line 39 of file class.ilServicesObjectExtractor.php.

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

Referenced by extract().

40  {
41  $this->ilExtractedParams->setSubjectId($parameters['obj_id']);
42  $this->ilExtractedParams->setContextType($parameters['obj_type']);
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: