Package: Storage\Adapter
Standard local filesystem storage adapter.
The default adapter; this stores files in the Omeka files directory bydefault, but can be set to point to a different path.
Local directory where files are stored.
Web-accesible path that corresponds to $_localDir.
Set options for the storage adapter.
Parameters: |
|
---|
Check whether the adapter is set up correctly to be able to store files.
Specifically, this checks to see if the local storage directoryis writable.
Returns: | boolean |
---|
Move a local file to “storage.”
Parameters: |
|
---|
Move a file between two “storage” locations.
Parameters: |
|
---|
Remove a “stored” file.
Parameters: |
|
---|
Get a URI for a “stored” file.
Parameters: |
|
---|---|
Returns: | string URI |
Return the options set by the adapter. Used primarily for testing.
Parameters: |
|
---|
Convert a “storage” path to an absolute filesystem path.
Parameters: |
|
---|---|
Returns: | string Absolute local filesystem path. |
Parameters: |
|
---|---|
Returns: | boolean |