ILIAS  release_8 Revision v8.24
ilFileData Class Reference
+ Inheritance diagram for ilFileData:
+ Collaboration diagram for ilFileData:

Public Member Functions

 __construct ()
 
 checkPath (string $a_path)
 
 getPath ()
 
- Public Member Functions inherited from ilFile
 deleteTrailingSlash (string $a_path)
 delete trailing slash of path variables More...
 

Additional Inherited Members

- Protected Attributes inherited from ilFile
string $path
 

Detailed Description

Deprecated:

Definition at line 18 of file class.ilFileData.php.

Constructor & Destructor Documentation

◆ __construct()

ilFileData::__construct ( )

Reimplemented in ilFileDataImport.

Definition at line 20 of file class.ilFileData.php.

21 {
22 $this->path = defined('CLIENT_DATA_DIR') ? CLIENT_DATA_DIR : '';
23 }
const CLIENT_DATA_DIR
Definition: constants.php:46

References CLIENT_DATA_DIR.

Member Function Documentation

◆ checkPath()

ilFileData::checkPath ( string  $a_path)

Definition at line 25 of file class.ilFileData.php.

25 : bool
26 {
27 if (is_writable($a_path)) {
28 return true;
29 } else {
30 return false;
31 }
32 }

◆ getPath()

ilFileData::getPath ( )

The documentation for this class was generated from the following file: