ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilFileData Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ 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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Deprecated:
Will be removed in ILIAS 10. Use ILIAS ResourceStorageService as replacement.

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

Constructor & Destructor Documentation

◆ __construct()

ilFileData::__construct ( )

Reimplemented in ilFileDataImport.

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

25 {
26 $this->path = defined('CLIENT_DATA_DIR') ? CLIENT_DATA_DIR : '';
27 }
const CLIENT_DATA_DIR
Definition: constants.php:46

References CLIENT_DATA_DIR.

Member Function Documentation

◆ checkPath()

ilFileData::checkPath ( string  $a_path)

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

29 : bool
30 {
31 return is_writable($a_path);
32 }

◆ getPath()

ilFileData::getPath ( )

Reimplemented in ilFileDataImport.

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

34 : string
35 {
36 return $this->path;
37 }
string $path

References ilFile\$path.

Referenced by ilFileDataMail\__construct(), ilFileDataCourse\__initDirectory(), and ilFileDataMail\initDirectory().

+ Here is the caller graph for this function:

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