__construct()
getProgress()
getProgressAdapter()
getSessionNamespace()
setOptions()
setProgressAdapter()
setSessionNamespace()
getUploadProgress()
toByteString()
$progressAdapter
$sessionNamespace
Abstract class for Upload Progress Handlers
__construct(array | \Traversable $options)
array\Traversable
Optional options
\Zend\ProgressBar\Exception\InvalidArgumentException |
---|
getProgress(string $id) : array
string
array
getProgressAdapter() : \Zend\ProgressBar\Adapter\AbstractAdapter | \Zend\ProgressBar\ProgressBar
getSessionNamespace() : string
string
setOptions(array | \Traversable $options) : \Zend\ProgressBar\Upload\AbstractUploadHandler
Accepted options are: - session_namespace: session namespace for upload progress - progress_adapter: progressbar adapter to use for updating progress
array\Traversable
\Zend\ProgressBar\Exception\InvalidArgumentException |
---|
setProgressAdapter(\Zend\ProgressBar\Adapter\AbstractAdapter | \Zend\ProgressBar\ProgressBar $progressAdapter) : \Zend\ProgressBar\Upload\AbstractUploadHandler | \Zend\ProgressBar\Upload\UploadHandlerInterface
setSessionNamespace(string $sessionNamespace) : \Zend\ProgressBar\Upload\AbstractUploadHandler | \Zend\ProgressBar\Upload\UploadHandlerInterface
string
getUploadProgress(string $id) : array | bool
string
array
bool
toByteString(int $size) : string
int
string
$progressAdapter : \Zend\ProgressBar\Adapter\AbstractAdapter | \Zend\ProgressBar\ProgressBar
$sessionNamespace : string