ILIAS  release_8 Revision v8.24
class.ilObjWorkflowEngine.php
Go to the documentation of this file.
1<?php
2
25{
26 public function __construct(int $id = 0, bool $call_by_reference = true)
27 {
28 $this->type = "wfe";
30 }
31
32 public static function getTempDir(bool $relative): string
33 {
34 $relativeTempPath = 'wfe/upload_temp/';
35
36 if ($relative) {
37 return $relativeTempPath;
38 }
39
40 return ILIAS_DATA_DIR . '/' . CLIENT_ID . '/' . $relativeTempPath;
41 }
42
43 public static function getRepositoryDir(bool $relative = false): string
44 {
45 $relativeRepositoryPath = 'wfe/repository/';
46
47 if ($relative) {
48 return $relativeRepositoryPath;
49 }
50
51 return ILIAS_DATA_DIR . '/' . CLIENT_ID . '/' . $relativeRepositoryPath;
52 }
53}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $id=0, bool $call_by_reference=true)
static getRepositoryDir(bool $relative=false)
static getTempDir(bool $relative)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
bool $call_by_reference
const CLIENT_ID
Definition: constants.php:41
const ILIAS_DATA_DIR
Definition: constants.php:44
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc