mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MAJOR: core upgrade to SS4: running INSPECT on /var/www/upgrades/upgradeto4/dms
This commit is contained in:
parent
e852e7f8ef
commit
8cc346b4ad
@ -6,13 +6,23 @@ namespace Sunnysideup\DMS\Interfaces;
|
||||
use SilverStripe\CMS\Model\SiteTree;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* When storing a document, the DMS sucks up the file and stores it separately from the assets section.
|
||||
* When initializing the DMS, it should create some kind of storage system. For file-based storage, that could be
|
||||
* a series of folders. Within the folders there are a number of files, keeping the same filename, but prefixed with
|
||||
* an ID number, which corresponds to the document's ID. So "my-important-document" becomes:
|
||||
* "/4000/4332~my-important-document" (folder structure to avoid storing too many files within one folder. Perhaps
|
||||
* 10000 files per folder is a good amount)
|
||||
*
|
||||
*/
|
||||
interface DMSInterface {
|
||||
|
Loading…
Reference in New Issue
Block a user