code/model/ExternalContentItem.php
public function DownloadLink() {
		// get the base URL, prepend with the external content
		// controller /download action and add this object's id
		$cur = Controller::curr();
		if ($cur instanceof ExternalContentPage_Controller) {
			return $cur->data()->LinkFor($this, 'download');
		}
		return ExternalContentPage_Controller::URL_STUB . '/download/' . $this->ID;
	}
public function DownloadLink() {
		// get the base URL, prepend with the external content
		// controller /download action and add this object's id
		$cur = Controller::curr();
		if ($cur instanceof ExternalContentPage_Controller) {
			return $cur->data()->LinkFor($this, 'download');
		}
		return ExternalContentPage_Controller::URL_STUB . '/download/' . $this->ID;
	}
public function DownloadLink ( ) { // get the base URL, prepend with the external content // controller /download action and add this object's id $ cur = Controller :: curr ( ) ; if ( $ cur instanceof ExternalContentPage_Controller ) { return $ cur -> data ( ) -> LinkFor ( $ this , 'download' ) ; } return ExternalContentPage_Controller :: URL_STUB . '/download/' . $ this -> ID ; }
Where this can be downloaded from

@return string
Where this can be downloaded from