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.ilFileDataImport.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
ilFileDataImport
extends
ilFileData
19
{
20
protected
string
$import_path
;
21
22
public
function
__construct
()
23
{
24
define(
'IMPORT_PATH'
,
'import'
);
25
parent::__construct
();
26
$this->import_path = parent::getPath() .
"/"
. IMPORT_PATH;
27
$this->
initExportDirectory
();
28
}
29
30
public
function
getPath
(): string
31
{
32
return
$this->import_path
;
33
}
34
35
private
function
initExportDirectory
(): void
36
{
37
if
(!file_exists($this->import_path)) {
38
ilFileUtils::makeDir
($this->import_path);
39
}
40
}
41
}
ilFileDataImport\$import_path
string $import_path
Definition:
class.ilFileDataImport.php:20
ilFileDataImport\initExportDirectory
initExportDirectory()
Definition:
class.ilFileDataImport.php:35
ilFileDataImport
Definition:
class.ilFileDataImport.php:18
ilFileDataImport\__construct
__construct()
Definition:
class.ilFileDataImport.php:22
ilFileData
Definition:
class.ilFileData.php:18
ilFileDataImport\getPath
getPath()
Definition:
class.ilFileDataImport.php:30
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilFileUtils\makeDir
static makeDir(string $a_dir)
creates a new directory and inherits all filesystem permissions of the parent directory You may pass ...
Definition:
class.ilFileUtils.php:424
Services
FileSystem
classes
class.ilFileDataImport.php
Generated on Thu Apr 10 2025 22:02:30 for ILIAS by
1.8.13 (using
Doxyfile
)