Class FOFDownloadAdapterCurl
A download adapter using the cURL PHP module
- FOFDownloadAdapterAbstract implements FOFDownloadInterface
- 
			 FOFDownloadAdapterCurl			
			 implements 
				FOFDownloadInterface FOFDownloadAdapterCurl			
			 implements 
				FOFDownloadInterface
		
		
		
		Package: FrameworkOnFramework\dispatcher
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/download/adapter/curl.php
	
		Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/download/adapter/curl.php
Methods summary
| 
				 public 
				
				
				 | |
| 
				 public 
				string
				
				 | 
			#
			 downloadAndReturn( string $url, integer $from = null, integer $to = null, array $params = array() )Download a part (or the whole) of a remote URL and return the downloaded data. You are supposed to check the size of the returned data. If it's smaller than what you expected you've reached end of file. If it's empty you have tried reading past EOF. If it's larger than what you expected the server doesn't support chunk downloads. | 
| 
				 public 
				integer
				
				 | |
| 
				 protected 
				integer
				
				 | 
Methods inherited from FOFDownloadAdapterAbstract
			getName(), 
			getPriority(), 
			isSupported(), 
			supportsChunkDownload(), 
			supportsFileSize()
		
Magic methods summary
Properties summary
| 
				protected  
				array
			 | $headers | 
Properties inherited from FOFDownloadAdapterAbstract
			$isSupported, 
			$name, 
			$priority, 
			$supportsChunkDownload, 
			$supportsFileSize
		
