Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
File transfer adapter class for the HTTP protocol
$_callbackApc = 'apc_fetch'
Details $_callbackUploadProgress = 'uploadprogress_get_info'
Details__construct(
array $options
=
array
)
:
Constructor for Http File Transfers
Details_prepareFiles(
)
:
arrayPrepare the $_FILES array to match the internal syntax of one file per entry
DetailsclearValidators(
)
:
Zend_File_Transfer_Adapter_AbstractRemove an individual validator
DetailsgetProgress(
string $id
=
null
)
:
array|nullReturns the actual progress of file up-/downloads
DetailsisApcAvailable(
)
:
booleanChecks the APC extension for progress information
DetailsisFiltered(
string|array $files
=
null
)
:
boolChecks if the file was already filtered
DetailsisReceived(
string|array $files
=
null
)
:
boolChecks if the file was already received
DetailsisSent(
$files
=
null
)
:
boolChecks if the file was already sent
DetailsisUploadProgressAvailable(
)
:
booleanChecks the UploadProgress extension for progress information
DetailsisUploaded(
$files
=
null
)
:
boolHas a file been uploaded ?
DetailsisValid(
string|array $files
=
null
)
:
booleanChecks if the files are valid
Detailsreceive(
string|array $files
=
null
)
:
boolReceive the file from the client (Upload)
DetailsremoveValidator(
string $name
)
:
Zend_File_Transfer_Adapter_AbstractRemove an individual validator
Detailssend(
string|array $options
=
null
)
:
voidSend the file to the client (Download)
DetailssetValidators(
$validators, string|array $files
=
null
)
:
Zend_File_Transfer_AdapterSets a validator for the class, erasing all previous set
Details