2015-06-13 01:42:51 +02:00
|
|
|
title: Files
|
|
|
|
summary: Upload, manage and manipulate files and images.
|
|
|
|
introduction: Upload, manage and manipulate files and images.
|
2014-09-21 02:07:58 +02:00
|
|
|
|
2017-10-24 11:12:28 +02:00
|
|
|
# Files
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
|
|
File management and abstraction is provided by the [silverstripe/assets](https://github.com/silverstripe/silverstripe-assets).
|
|
|
|
This provides the basis for the storage of all non-static files and resources usable by a SilverStripe web application.
|
|
|
|
|
|
|
|
By default the [api:SilverStripe\Assets\File] has these characteristics:
|
|
|
|
|
|
|
|
- A default permission model based on folder hierarchy.
|
|
|
|
- Versioning of files, including the ability to draft modifications to files and subsequently publish them.
|
|
|
|
- Physical protection of both unpublished and secured files, allowing restricted access as needed.
|
|
|
|
- An abstract storage based on the [flysystem](https://flysystem.thephpleague.com/) library, which can be
|
|
|
|
substituted for any other backend.
|
|
|
|
- Can be embedded into any HTML field via shortcodes.
|
|
|
|
|
|
|
|
# Read more
|
|
|
|
|
2015-06-13 01:42:51 +02:00
|
|
|
[CHILDREN]
|
2011-02-07 07:48:44 +01:00
|
|
|
|
2015-06-13 01:42:51 +02:00
|
|
|
## API Documentation
|
2011-02-07 07:48:44 +01:00
|
|
|
|
2017-07-03 03:22:12 +02:00
|
|
|
* [File](api:SilverStripe\Assets\File)
|
|
|
|
* [Image](api:SilverStripe\Assets\Image)
|
|
|
|
* [DBFile](api:SilverStripe\Assets\Storage\DBFile)
|
|
|
|
* [Folder](api:SilverStripe\Assets\Folder)
|