ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilObjWorkflowEngine.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
14{
20 public function __construct($id = 0, $call_by_reference = true)
21 {
22 $this->type = "wfe";
23 parent::__construct($id, $call_by_reference);
24 }
25
30 public static function getTempDir($relative = false)
31 {
32 $relativeTempPath = 'wfe/upload_temp/';
33
34 if ($relative) {
35 return $relativeTempPath;
36 }
37
38 return ILIAS_DATA_DIR . '/' . CLIENT_ID . '/' . $relativeTempPath;
39 }
40}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjWorkflowEngine.
__construct($id=0, $call_by_reference=true)
ilObjWorkflowEngine constructor.
static getTempDir($relative=false)
Class ilObject Basic functions for all objects.
const CLIENT_ID
Definition: constants.php:39
const ILIAS_DATA_DIR
Definition: constants.php:42
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc