39 abstract public function read($f, $length,
$offset = 0);
58 abstract public function eof($f);
67 abstract public function tell($f);
76 abstract public function close($f);
85 abstract public function delete(
\ElggFile $file);
write($f, $data)
Write data to a given file handle.
exists(\ElggFile $file)
Return whether a file physically exists or not.
$mode
Configure site maintenance mode.
setParameters(array $parameters)
Set the parameters from the associative array produced by $this->getParameters(). ...
getFileSize(\ElggFile $file)
Return the size in bytes for a given file.
seek($f, $position)
Seek a given position within a file handle.
read($f, $length, $offset=0)
Read data from a filestore.
getParameters()
Get the filestore's creation parameters as an associative array.
grabFile(\ElggFile $file)
Get the contents of the whole file.
tell($f)
Return the current position in an open file.
open(\ElggFile $file, $mode)
Attempt to open the file $file for storage or writing.
eof($f)
Return a whether the end of a file has been reached.
getFilenameOnFilestore(\ElggFile $file)
Return the filename of a given file as stored on the filestore.
close($f)
Close a given file handle.