ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilTestProcessLockFileStorage.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/FileSystem/classes/class.ilFileSystemStorage.php';
5 
13 {
17  public function __construct($activeId)
18  {
19  parent::__construct(ilFileSystemStorage::STORAGE_DATA, true, $activeId);
20  }
21 
30  protected function getPathPrefix()
31  {
32  return 'ilTestProcessLocks';
33  }
34 
44  protected function getPathPostfix()
45  {
46  return 'active';
47  }
48 
49  public function create()
50  {
51  if(!file_exists($this->getPath()))
52  {
54  }
55  return true;
56  }
57 }
static makeDirParents($a_dir)
Create a new directory and all parent directories.