Package: Storage
Top-level helper class for handling file storage.
Allows storage options to be set immediately at construction.
Parameters: |
|
---|
Delegates calls directly to Omeka_Storage to the currently-set storage adapter.
All of the methods of the Adapter interface are accessible inthis way, as well as any other methods declared by the adapter.
Parameters: |
|
---|---|
Returns: | mixed |
Set global options for the storage system, as well as any adapter-specific options.
Parameters: |
|
---|
Set the storage adapter to be used, as well as options for that adapter.
You can either pass an already-constructed adapter object to thismethod or use this method as a factory by passing the name of anadapter class and options to set on it.
Parameters: |
|
---|
Get the current storage adapter.
You generally need to use the adapter object returned by thismethod to perform any storage actions.
Returns: | Omeka_Storage_Adapter_AdapterInterface |
---|
Set the temporary file storage directory path.
Parameters: |
|
---|
Get the temporary file storage directory path.
If no directory has been explicitly selected, the system’s tempdirectory is set as the temp dir and returned.
Returns: | string Local path to directory. |
---|
Parameters: |
|
---|