ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FilesystemInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace League\Flysystem;
4 
6 {
14  public function has($path);
15 
25  public function read($path);
26 
36  public function readStream($path);
37 
46  public function listContents($directory = '', $recursive = false);
47 
57  public function getMetadata($path);
58 
66  public function getSize($path);
67 
77  public function getMimetype($path);
78 
88  public function getTimestamp($path);
89 
99  public function getVisibility($path);
100 
112  public function write($path, $contents, array $config = []);
113 
126  public function writeStream($path, $resource, array $config = []);
127 
139  public function update($path, $contents, array $config = []);
140 
153  public function updateStream($path, $resource, array $config = []);
154 
166  public function rename($path, $newpath);
167 
179  public function copy($path, $newpath);
180 
190  public function delete($path);
191 
201  public function deleteDir($dirname);
202 
211  public function createDir($dirname, array $config = []);
212 
221  public function setVisibility($path, $visibility);
222 
232  public function put($path, $contents, array $config = []);
233 
245  public function putStream($path, $resource, array $config = []);
246 
256  public function readAndDelete($path);
257 
266  public function get($path, Handler $handler = null);
267 
275  public function addPlugin(PluginInterface $plugin);
276 }
listContents($directory='', $recursive=false)
List contents of a directory.
writeStream($path, $resource, array $config=[])
Write a new file using a stream.
put($path, $contents, array $config=[])
Create a file or update if exists.
createDir($dirname, array $config=[])
Create a directory.
getTimestamp($path)
Get a file&#39;s timestamp.
copy($path, $newpath)
Copy a file.
putStream($path, $resource, array $config=[])
Create a file or update if exists.
has($path)
Check whether a file exists.
readAndDelete($path)
Read and delete a file.
rename($path, $newpath)
Rename a file.
addPlugin(PluginInterface $plugin)
Register a plugin.
getMimetype($path)
Get a file&#39;s mime-type.
getMetadata($path)
Get a file&#39;s metadata.
Create styles array
The data for the language used.
getVisibility($path)
Get a file&#39;s visibility.
update($path, $contents, array $config=[])
Update an existing file.
updateStream($path, $resource, array $config=[])
Update an existing file using a stream.
setVisibility($path, $visibility)
Set the visibility for a file.
write($path, $contents, array $config=[])
Write a new file.
getSize($path)
Get a file&#39;s size.
$handler
readStream($path)
Retrieves a read-stream for a path.
deleteDir($dirname)
Delete a directory.