ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
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
set_error_handler(
function
($severity,
$message
, $file, $line) {
52
throw
new
ErrorException
(
$message
, $severity, 0, $file, $line);
53
});
54
55
try
{
56
ilUtil::makeDirParents
($this->
getPath
());
57
restore_error_handler();
58
}
catch
(
Exception
$e) {
59
restore_error_handler();
60
}
61
62
if
(!file_exists($this->
getPath
())) {
63
throw
new
ErrorException
(sprintf(
'Could not find directory: %s'
, $this->
getPath
()));
64
}
65
66
return
true
;
67
}
68
}
ilUtil\makeDirParents
static makeDirParents($a_dir)
Create a new directory and all parent directories.
Definition:
class.ilUtil.php:2205
ilTestProcessLockFileStorage\__construct
__construct($activeId)
Definition:
class.ilTestProcessLockFileStorage.php:17
ilFileSystemStorage\STORAGE_DATA
const STORAGE_DATA
Definition:
class.ilFileSystemStorage.php:37
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
ilFileSystemStorage\getPath
getPath()
Get path.
Definition:
class.ilFileSystemStorage.php:295
ErrorException
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
Exception
Modules
Test
classes
class.ilTestProcessLockFileStorage.php
Generated on Sun Apr 13 2025 19:01:52 for ILIAS by
1.8.13 (using
Doxyfile
)