Methods
__construct()
__construct(array | \Traversable $options)
Inherited
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::__construct() |
Parameters
$options
array\Traversable
Optional options
Exceptions
getProgress()
getProgress(string $id) : array
Inherited
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::getProgress() |
Parameters
$id
string
Returns
array
getSessionNamespace()
getSessionNamespace() : string
Inherited
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::getSessionNamespace() |
Returns
string
Checks for the APC extension
isApcAvailable() : bool
Set options for a upload handler.
setOptions(array | \Traversable $options) : \Zend\ProgressBar\Upload\AbstractUploadHandler
Inherited
Accepted options are:
- session_namespace: session namespace for upload progress
- progress_adapter: progressbar adapter to use for updating progress
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
getUploadProgress()
getUploadProgress(string $id) : array | bool
Parameters
$id
string
Exceptions
Returns
array
bool
Returns the formatted size
toByteString(int $size) : string
Inherited
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::toByteString() |
Parameters
$size
int
Returns
string
Properties
$sessionNamespace
$sessionNamespace : string
Inherited
inherited_from |
\Zend\ProgressBar\Upload\AbstractUploadHandler::$$sessionNamespace |