ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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  return is_writable($a_path);
31  }
32 
33  public function getPath(): string
34  {
35  return $this->path;
36  }
37 }
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