# MLAFileDownloader

Class MLA (Media Library Assistant) File Downloader provides file streaming to client.

package | Media Library Assistant
since | 2.32

### Methods

## Log debug information

    _mla_debug_add(string $message)

static

since | 2.32

### Arguments

#### $message

`string`

Error message.

## Log the message and return error message array

    _mla_error_return(string $message, string $line = '') : \array(

static

since | 2.32

### Arguments

#### $message

`string`

Error message.

#### $line

`string`

Optional. Line number in the caller.

### Response

`\array(`

'error' => message )

## Abort the operation and exit

    mla_die(string $message, string $title = '', integer $response = 500) : void

static

since | 2.32

### Arguments

#### $message

`string`

Error message.

#### $title

`string`

Optional. Error title. Default empty.

#### $response

`integer`

Optional. HTML response code. Default 500.

## Process secure file download

    mla_process_download_file() : void

static

Requires mla_download_file and mla_download_type in $_REQUEST.

since | 2.32

### Properties

## Log debug information if true

    mla_debug : boolean

static

since |
var |

### Type(s)

`boolean`