ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 {
21  public function __construct($id = 0, $call_by_reference = true)
22  {
23  $this->type = "wfe";
24  parent::__construct($id, $call_by_reference);
25  }
26 
31  public static function getTempDir($relative = false)
32  {
33  $relativeTempPath = 'wfe/upload_temp/';
34 
35  if ($relative) {
36  return $relativeTempPath;
37  }
38 
39  return ILIAS_DATA_DIR . '/' . CLIENT_ID . '/' . $relativeTempPath;
40  }
41 
46  public static function getRepositoryDir($relative = false)
47  {
48  $relativeRepositoryPath = 'wfe/repository/';
49 
50  if ($relative) {
51  return $relativeRepositoryPath;
52  }
53 
54  return ILIAS_DATA_DIR . '/' . CLIENT_ID . '/' . $relativeRepositoryPath;
55  }
56 }
__construct($id=0, $call_by_reference=true)
ilObjWorkflowEngine constructor.
static getRepositoryDir($relative=false)
Class ilObjWorkflowEngine.
static getTempDir($relative=false)