ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
12
class
ilTestProcessLockFileStorage
extends
ilFileSystemStorage
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
{
53
ilUtil::makeDirParents
($this->
getPath
());
54
}
55
return
true
;
56
}
57
}
ilUtil\makeDirParents
static makeDirParents($a_dir)
Create a new directory and all parent directories.
Definition:
class.ilUtil.php:2430
ilTestProcessLockFileStorage\__construct
__construct($activeId)
Definition:
class.ilTestProcessLockFileStorage.php:17
ilFileSystemStorage\STORAGE_DATA
const STORAGE_DATA
Definition:
class.ilFileSystemStorage.php:37
ilFileSystemStorage\getPath
getPath()
Get path.
Definition:
class.ilFileSystemStorage.php:308
ilTestProcessLockFileStorage\getPathPostfix
getPathPostfix()
Get directory name.
Definition:
class.ilTestProcessLockFileStorage.php:44
ilFileSystemStorage
Definition:
class.ilFileSystemStorage.php:34
ilTestProcessLockFileStorage
Definition:
class.ilTestProcessLockFileStorage.php:12
php
ilTestProcessLockFileStorage\create
create()
Definition:
class.ilTestProcessLockFileStorage.php:49
ilTestProcessLockFileStorage\getPathPrefix
getPathPrefix()
Get path prefix.
Definition:
class.ilTestProcessLockFileStorage.php:30
Modules
Test
classes
class.ilTestProcessLockFileStorage.php
Generated on Fri Jan 17 2025 19:01:03 for ILIAS by
1.8.13 (using
Doxyfile
)