ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 }
__construct($id=0, $call_by_reference=true)
ilObjWorkflowEngine constructor.
Class ilObjWorkflowEngine.
const CLIENT_ID
Definition: constants.php:39
const ILIAS_DATA_DIR
Definition: constants.php:42
__construct(Container $dic, ilPlugin $plugin)
static getTempDir($relative=false)