Base class for all protocols supporting file transfers
category | Zend |
---|---|
package | Zend_File_Transfer |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__call(string $method, array $options) : mixed
string
Method to call
array
Options for this method
mixed
__construct(string $adapter= 'Http'
, boolean $direction= false
, array $options= array()
)
string
Adapter to use
boolean
OPTIONAL False means Download, true means upload
array
OPTIONAL Options to set for this adapter
\Zend_File_Transfer_Exception |
---|
getAdapter(boolean $direction = null
) : array | \Zend_File_Transfer_Adapter
boolean
On null, all directions are returned On false, download direction is returned On true, upload direction is returned
array
\Zend_File_Transfer_Adapter
setAdapter(string $adapter, boolean $direction= false
, array $options= array()
)
string
Adapter to use
boolean
OPTIONAL False means Download, true means upload
array
OPTIONAL Options to set for this adapter
\Zend_File_Transfer_Exception |
---|
$_adapter : array
array()