|
Stud.IP
3.1 Revision 48552
|


Public Member Functions | |
| delete () | |
| exists () | |
| getCreationTime () | |
| getId () | |
| getMimeType () | |
| getModificationTime () | |
| getSize () | |
| isReadable () | |
| isWritable () | |
| open ($mode) | |
Static Public Member Functions | |
| static | removeFile ($doc_list) |
Common interface for all backends to store files. At the moment, there is only one backend: DiskFileStorage.
Copyright (c) 2013 Elmar Ludwig
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| delete | ( | ) |
Delete this file from disk.
Reimplemented in DiskFileStorage.
| exists | ( | ) |
Check whether the file exists on disk.
Reimplemented in DiskFileStorage.
| getCreationTime | ( | ) |
| getId | ( | ) |
| getMimeType | ( | ) |
Return the file's mime type, if known.
Reimplemented in DiskFileStorage.
| getModificationTime | ( | ) |
| getSize | ( | ) |
| isReadable | ( | ) |
Check if this backend allows reading of files.
Reimplemented in DiskFileStorage.
| isWritable | ( | ) |
Check if this backend allows writing of files.
Reimplemented in DiskFileStorage.
| open | ( | $mode | ) |
Open a PHP stream resource for this file. Access mode parameter works just like fopen.
| string | $mode | access mode (see fopen) |
Reimplemented in DiskFileStorage.
|
static |
