ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilFileData.php
Go to the documentation of this file.
1
<?php
2
/******************************************************************************
3
*
4
* This file is part of ILIAS, a powerful learning management system.
5
*
6
* ILIAS is licensed with the GPL-3.0, you should have received a copy
7
* of said license along with the source code.
8
*
9
* If this is not the case or you just want to try ILIAS, you'll find
10
* us at:
11
* https://www.ilias.de
12
* https://github.com/ILIAS-eLearning
13
*
14
*****************************************************************************/
18
class
ilFileData
extends
ilFile
19
{
20
public
function
__construct
()
21
{
22
$this->path = defined(
'CLIENT_DATA_DIR'
) ?
CLIENT_DATA_DIR
:
''
;
23
}
24
25
public
function
checkPath
(
string
$a_path): bool
26
{
27
if
(is_writable($a_path)) {
28
return
true
;
29
}
else
{
30
return
false
;
31
}
32
}
33
34
public
function
getPath
(): string
35
{
36
return
$this->path
;
37
}
38
}
ilFileData\getPath
getPath()
Definition:
class.ilFileData.php:34
ilFileData\__construct
__construct()
Definition:
class.ilFileData.php:20
CLIENT_DATA_DIR
const CLIENT_DATA_DIR
Definition:
constants.php:46
ilFileData
Definition:
class.ilFileData.php:18
ilFileData\checkPath
checkPath(string $a_path)
Definition:
class.ilFileData.php:25
ilFile
Base class for all file (directory) operations This class is abstract and needs to be extended...
Definition:
class.ilFile.php:21
ilFile\$path
string $path
Definition:
class.ilFile.php:23
Services
FileSystem
classes
class.ilFileData.php
Generated on Sun Apr 6 2025 22:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)