ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface FileAccess. More...
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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... | |
Interface FileAccess.
The FileAccess interface defines all file operations. Filesystem role interface.
Definition at line 17 of file FileAccess.php.