ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
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 Aug 31 2025 22:02:20 for ILIAS by
1.8.13 (using
Doxyfile
)