ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilServicesTreeExtractor.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
5require_once './Services/WorkflowEngine/classes/extractors/class.ilBaseExtractor.php';
6
15{
22 public function extract($event, $parameters)
23 {
24 $this->ilExtractedParams->setSubjectType('tree');
25
26 switch ($event) {
27 case 'moveTree':
28 $this->extractTree($parameters);
29 break;
30 }
31
33 }
34
38 protected function extractTree($parameters)
39 {
41 $this->ilExtractedParams->setContextType('tree');
42 $this->ilExtractedParams->setContextId($parameters['tree']);
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
Class ilExtractedParams.
@noinspection PhpIncludeInspection