code/pages/ExternalContentPage.php
public function download($request) {
		if ($request->param('ID')) {
			$object = ExternalContent::getDataObjectFor($request->param('ID'));
			if ($object && $object instanceof ExternalContentItem) {
				$object->streamContent();
			}
		}
	}
public function download($request) {
		if ($request->param('ID')) {
			$object = ExternalContent::getDataObjectFor($request->param('ID'));
			if ($object && $object instanceof ExternalContentItem) {
				$object->streamContent();
			}
		}
	}
public function download ( $ request ) { if ( $ request -> param ( 'ID' ) ) { $ object = ExternalContent :: getDataObjectFor ( $ request -> param ( 'ID' ) ) ; if ( $ object && $ object instanceof ExternalContentItem ) { $ object -> streamContent ( ) ; } } }
Called to download this content item and stream it directly to the browser

@param HTTP_Request $request
Called to download this content item and stream it directly to the browser