ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FileReadAccess.php
Go to the documentation of this file.
1<?php
2
4
8
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}
An exception for terminatinating execution or to throw for unit testing.
Class DataSize.
Definition: DataSize.php:16
getTimestamp($path)
Get the timestamp of the file.
getVisibility($path)
Get the file visibility.
getMimeType($path)
Get a files mime-type.
getSize($path, $fileSizeUnit)
Get the size of a file.
setVisibility($path, $visibility)
Sets the visibility for a file.
has($path)
Checks whether a file exists.
read($path)
Reads a file content to a string.