\CloudDownloadTempFile
This is for compatibility with the markguinn/silverstripe-cloudassets module.
It is not a required module and shouldn't give you any trouble if its not installed.
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class CloudDownloadTempFile
extends DownloadTempFile
{
- // Inherited constants from DownloadTempFile
- const PENDING = "Pending";
- const ACTIVE = "Active";
- const COMPLETE = "Complete";
- // methods
- public void Link()
- public void RelativeLink()
- public void getURL()
- public void getAbsoluteURL()
- public void getAbsoluteSize()
- public void exists()
- public void process()
- // Inherited methods from DownloadTempFile
- public bool check()
- public void updateFileKey()
- public static DownloadTempFile get_by_files()
- public string getProcessingLink()
- public void process()
- public bool isZombie()
- public bool isOutdated()
- public string getFriendlyName()
Hierarchy
Extends
Constants
Name | Value |
---|---|
PENDING | "Pending" |
ACTIVE | "Active" |
COMPLETE | "Complete" |
Methods
public
- Link()
- RelativeLink()
- exists()
- getAbsoluteSize()
- getAbsoluteURL()
- getURL()
- process() — Copies and/or zips the file(s) into the correct temporary folder.
Inherited from DownloadTempFile
public
- check() — Checks to see if this tempfile contains the same files as the list given, in which case it could be re-used.
- getFriendlyName() — Returns a more user-friendly filename for use when forcing a download.
- getProcessingLink()
- get_by_files()
- isOutdated() — Is this file old enough to be deleted?
- isZombie() — Checks if the state is active and the start time was an unreasonable amount of time ago
- process() — Copies and/or zips the file(s) into the correct temporary folder.
- updateFileKey() — Updates the "FileKey" that we use to check for existing caches with the same files.