ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilFileData.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 
12 require_once("./Services/FileSystem/classes/class.ilFile.php");
13 
14 class ilFileData extends ilFile
15 {
16 
23  public function __construct()
24  {
25  parent::__construct();
26  $this->path = CLIENT_DATA_DIR;
27  }
28 
35  public function checkPath($a_path)
36  {
37  if (is_writable($a_path)) {
38  return true;
39  } else {
40  return false;
41  }
42  }
43 
49  public function getPath()
50  {
51  return $this->path;
52  }
53 }
getPath()
get Path public
__construct()
Constructor class bas constructor and read path of directory from ilias.ini setup an mail object pub...
checkPath($a_path)
check if path exists and is writable
This class handles all operations on files in directory /ilias_data/.
Base class for all file (directory) operations This class is abstract and needs to be extended...