ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ILIAS\Filesystem\Provider\FileAccess Interface Reference

Interface FileAccess. More...

+ Inheritance diagram for ILIAS\Filesystem\Provider\FileAccess:
+ Collaboration diagram for ILIAS\Filesystem\Provider\FileAccess:

Additional Inherited Members

- Public Member Functions inherited from ILIAS\Filesystem\Provider\FileReadAccess
 read (string $path)
 Reads a file content to a string. More...
 
 has (string $path)
 Checks whether a file exists. More...
 
 getMimeType (string $path)
 Get a files mime-type. More...
 
 getTimestamp (string $path)
 Get the timestamp of the file. More...
 
 getSize (string $path, int $fileSizeUnit)
 Get the size of a file. More...
 
 setVisibility (string $path, string $visibility)
 Sets the visibility for a file. More...
 
 getVisibility (string $path)
 Get the file visibility. More...
 
- Public Member Functions inherited from ILIAS\Filesystem\Provider\FileWriteAccess
 write (string $path, string $content)
 Writes the content to a new file. More...
 
 update (string $path, string $newContent)
 Updates the content of a file. More...
 
 put (string $path, string $content)
 Creates a file or updates an existing one. More...
 
 delete (string $path)
 Deletes a file. More...
 
 readAndDelete (string $path)
 Reads the entire file content into a string and removes the file afterwards. More...
 
 rename (string $path, string $newPath)
 Moves a file from the source to the destination. More...
 
 copy (string $path, string $copyPath)
 Copy the source file to a destination. More...
 

Detailed Description

Interface FileAccess.

The FileAccess interface defines all file operations. Filesystem role interface.

Author
Nicolas Schäfli ns@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Since
5.3
Version
1.0

Definition at line 17 of file FileAccess.php.


The documentation for this interface was generated from the following file: