ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 21 of file class.ilFileData.php.

Constructor & Destructor Documentation

◆ __construct()

ilFileData::__construct ( )

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

References CLIENT_DATA_DIR.

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

Member Function Documentation

◆ checkPath()

ilFileData::checkPath ( string  $a_path)

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

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

◆ getPath()

ilFileData::getPath ( )

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

References ilFile\$path.

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

33  : string
34  {
35  return $this->path;
36  }
string $path
+ Here is the caller graph for this function:

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