ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilServicesObjectExtractor.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 
15 {
22  public function extract($event, $parameters)
23  {
24  $this->ilExtractedParams->setSubjectType('object');
25 
26  switch($event)
27  {
28  case 'create':
29  case 'update':
30  $this->extractObject($parameters);
31  break;
32  }
33 
35  }
36 
40  protected function extractObject($parameters)
41  {
42  $this->ilExtractedParams->setSubjectId($parameters['obj_id']);
43  $this->ilExtractedParams->setContextType($parameters['obj_type']);
45  }
46 }
Class ilExtractedParams.
PhpIncludeInspection