ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FileReadAccess.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
22 interface FileReadAccess
23 {
24 
38  public function read($path);
39 
40 
51  public function has($path);
52 
63  public function getMimeType($path);
64 
65 
79  public function getTimestamp($path);
80 
81 
99  public function getSize($path, $fileSizeUnit);
100 
118  public function setVisibility($path, $visibility);
119 
120 
137  public function getVisibility($path);
138 }
getMimeType($path)
Get a files mime-type.
getSize($path, $fileSizeUnit)
Get the size of a file.
read($path)
Reads a file content to a string.
getTimestamp($path)
Get the timestamp of the file.
setVisibility($path, $visibility)
Sets the visibility for a file.
getVisibility($path)
Get the file visibility.
has($path)
Checks whether a file exists.