You are here

function hackedProjectWebFilesDownloader::download_link in Hacked! 7.2

Same name and namespace in other branches
  1. 6.2 includes/hacked_project.inc \hackedProjectWebFilesDownloader::download_link()
1 call to hackedProjectWebFilesDownloader::download_link()
hackedProjectWebFilesDownloader::download in includes/hackedProjectWebFilesDownloader.inc
Download the remote files to the local filesystem.

File

includes/hackedProjectWebFilesDownloader.inc, line 8

Class

hackedProjectWebFilesDownloader
Downloads a project using a standard Drupal method.

Code

function download_link() {
  if (!empty($this->project->project_info['releases'][$this->project->existing_version])) {
    $this_release = $this->project->project_info['releases'][$this->project->existing_version];
    return $this_release['download_link'];
  }
}