Method |
Description |
|
close ( mixed $f ) : boolean |
Close a given file handle. |
|
delete ( ElggFile $file, boolean $follow_symlinks = true ) : boolean |
Delete the file associated with a given file handle. |
|
eof ( mixed $f ) : boolean |
Return a whether the end of a file has been reached. |
|
exists ( ElggFile $file ) : boolean |
Return whether a file physically exists or not. |
|
getFileSize ( ElggFile $file ) : integer |
Return the size in bytes for a given file. |
|
getFilenameOnFilestore ( ElggFile $file ) : string |
Return the filename of a given file as stored on the filestore. |
|
getParameters ( ) : array |
Get the filestore's creation parameters as an associative array. |
|
grabFile ( ElggFile $file ) : mixed |
Get the contents of the whole file. |
|
open ( ElggFile $file, string $mode ) : mixed |
Attempt to open the file $file for storage or writing. |
|
read ( mixed $f, integer $length, integer $offset ) : mixed |
Read data from a filestore. |
|
seek ( mixed $f, integer $position ) : integer |
Seek a given position within a file handle. |
|
setParameters ( array $parameters ) : boolean |
Set the parameters from the associative array produced by $this->getParameters(). |
|
tell ( mixed $f ) : integer |
Return the current position in an open file. |
|
write ( mixed $f, string $data ) : integer |
Write data to a given file handle. |
|