Skip to main content
Skip table of contents

DownloadModel

Model for informations on a content-download.

implements: hash, scalar
bundle: standard information structure (sismodel)
since 5.2.0
Model for informations on a content-download.

Model to hold information 'bout a download asset.

[used as scalar] ↦ String
since 5.2.0
Returns a brief technical description.

Defined hash keys

asset ↦ String
since 5.2.0
get the asset of download file

lang ↦ String
since 5.2.0
get the lang of download file

name ↦ String
since 5.2.0
get the name of download file

size ↦ String
since 5.2.0
get the size of download file

type ↦ String
since 5.2.0
get the mime-type of download file

url ↦ String
since 5.2.0
get the url of download file

Methods

url(String:fileName)String
since 5.2.0
Returns a download URL for the storage item with given 'fileName' ([optional], name from asset (feature)).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.