class DownloadFile extends PageController (View source)

Properties

protected $force

Methods

view(int $fID, null|int $rcID = null)

No description

force(int $fID, null|int $rcID = null)

No description

view_inline(int $fID)

No description

submit_password(int $fID)

No description

download(File $file, null|int $rcID = null)

No description

force_download(File $file, null|int $rcID = null)

Forces the download of a file and shuts down.

Details

view(int $fID, null|int $rcID = null)

Parameters

int $fID File ID
null|int $rcID

force(int $fID, null|int $rcID = null)

Parameters

int $fID File ID
null|int $rcID

view_inline(int $fID)

Parameters

int $fID File ID

submit_password(int $fID)

Parameters

int $fID File ID

protected download(File $file, null|int $rcID = null)

Parameters

File $file
null|int $rcID

protected force_download(File $file, null|int $rcID = null)

Forces the download of a file and shuts down.

Returns null if approved version wasn't found.

Parameters

File $file
null|int $rcID