Zend Framework
1.12
|
Public Member Functions | |
__construct ($adapter= 'Http', $direction=false, $options=array()) | |
Creates a file processing handler. | |
setAdapter ($adapter, $direction=false, $options=array()) | |
Sets a new adapter. | |
getAdapter ($direction=null) | |
Returns all set adapters. | |
__call ($method, array $options) | |
Calls all methods from the adapter. | |
Protected Attributes | |
$_adapter = array() | |
__construct | ( | $adapter = 'Http' , |
|
$direction = false , |
|||
$options = array() |
|||
) |
Creates a file processing handler.
string | $adapter | Adapter to use |
boolean | $direction | OPTIONAL False means Download, true means upload |
array | $options | OPTIONAL Options to set for this adapter |
Zend_File_Transfer_Exception |
__call | ( | $method, | |
array | $options | ||
) |
Calls all methods from the adapter.
string | $method | Method to call |
array | $options | Options for this method |
getAdapter | ( | $direction = null | ) |
Returns all set adapters.
boolean | $direction | On null, all directions are returned On false, download direction is returned On true, upload direction is returned |
setAdapter | ( | $adapter, | |
$direction = false , |
|||
$options = array() |
|||
) |
Sets a new adapter.
string | $adapter | Adapter to use |
boolean | $direction | OPTIONAL False means Download, true means upload |
array | $options | OPTIONAL Options to set for this adapter |
Zend_File_Transfer_Exception |
|
protected |