StorageLocation
class StorageLocation implements StorageLocationInterface (View source)
Properties
protected | $fslName | ||
protected | $fslConfiguration | ||
protected | $fslID | ||
protected | $files | ||
protected | $fslIsDefault |
Methods
No description
No description
Returns the display name for this storage location (localized and escaped accordingly to $format)
No description
No description
No description
No description
No description
No description
Returns the proper file system object for the current storage location, by mapping it through Flysystem.
Clear the Flysystem cache.
Delete this storage location
Save a storage location
Check if the storage location contains files
Details
int
getID()
No description
string
getName()
No description
string
getDisplayName(string $format = 'html')
Returns the display name for this storage location (localized and escaped accordingly to $format)
setName(string $fslName)
No description
setIsDefault(bool $fslIsDefault)
No description
ConfigurationInterface
getConfigurationObject()
No description
bool
isDefault()
No description
setConfigurationObject($configuration)
No description
getTypeObject()
No description
Filesystem
getFileSystemObject()
Returns the proper file system object for the current storage location, by mapping it through Flysystem.
clearCache()
Clear the Flysystem cache.
mixed
delete()
Delete this storage location
mixed
save()
Save a storage location
bool
hasFiles()
Check if the storage location contains files