ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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:
Will be removed in ILIAS 10.

Use ILIAS ResourceStorageService as replacement.

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

Constructor & Destructor Documentation

◆ __construct()

ilFileData::__construct ( )

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

References CLIENT_DATA_DIR.

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

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()


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