class Enclosure

Controller for streaming file attachments (enclosures).

Methods

__construct(object $model, object $viewModel)

Constructor.

array
display()

Stream a file attachment to the browser.

Details

at line 42
__construct(object $model, object $viewModel)

Constructor.

Parameters

object $model Instance of a model class.
object $viewModel Instance of a viewModel class.

at line 55
array display()

Stream a file attachment to the browser.

Return Value

array Empty array (the output of this action is not cached).