class DownloadFile extends PageController (View source)

Properties

protected $force

Methods

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

No description

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

No description

view_inline(int $fID = 0)

No description

submit_password(int $fID = 0)

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 = 0, null|int $rcID = null)

No description

Parameters

int $fID

File ID

null|int $rcID

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

No description

Parameters

int $fID

File ID

null|int $rcID

view_inline(int $fID = 0)

No description

Parameters

int $fID

File ID

submit_password(int $fID = 0)

No description

Parameters

int $fID

File ID

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

No description

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