Class AdmintoolsHelperDownload

Description

Smart download helper. Automatically uses cURL or URL fopen() wrappers to fetch the package.

  • since: 2.5.4

Located in /administrator/components/com_joomlaupdate/helpers/download.php (line 19)


	
			
Method Summary
 static bool download (string $url, string $target)
 static mixed downloadAndReturn (string $url)
Methods
static download (line 31)

Downloads from a URL and saves the result as a local file

  • return: True on success
  • since: 2.5.4
  • access: public
static bool download (string $url, string $target)
  • string $url: The URL to download from
  • string $target: The file path to download to
static downloadAndReturn (line 124)

Downloads from a URL and returns the result as a string

  • return: Result string on success, false on failure
  • since: 2.5.4
  • access: public
static mixed downloadAndReturn (string $url)
  • string $url: The URL to download from

Documentation generated on Tue, 19 Nov 2013 15:01:40 +0100 by phpDocumentor 1.4.3