ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilFileData.php
Go to the documentation of this file.
1 <?php
21 class ilFileData extends ilFile
22 {
23  public function __construct()
24  {
25  $this->path = defined('CLIENT_DATA_DIR') ? CLIENT_DATA_DIR : '';
26  }
27 
28  public function checkPath(string $a_path): bool
29  {
30  if (is_writable($a_path)) {
31  return true;
32  } else {
33  return false;
34  }
35  }
36 
37  public function getPath(): string
38  {
39  return $this->path;
40  }
41 }
const CLIENT_DATA_DIR
Definition: constants.php:46
checkPath(string $a_path)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
string $path