Zend\ProgressBar\Adapter\JsPush
Zend\ProgressBar\Adapter\JsPush offers a simple method for updating a progressbar in a browser.
Synopsis
class JsPush
extends AbstractAdapter
{
- // members
- protected string $updateMethodName;
- protected string $finishMethodName;
- // Inherited members from AbstractAdapter
- protected array $skipOptions;
- // methods
- public JsPush setUpdateMethodName()
- public JsPush setFinishMethodName()
- public void notify()
- public void finish()
- protected void _outputData()
- // Inherited methods from AbstractAdapter
- public void __construct()
- public AbstractAdapter setOptions()
- public abstract void notify()
- public abstract void finish()
Hierarchy
Members
protected
- $finishMethodName
—
string
Name of the JavaScript method to call on finish - $skipOptions
—
array
Option keys to skip when calling setOptions() - $updateMethodName
—
string
Name of the JavaScript method to call on update
Methods
protected
- _outputData() — Outputs given data the user agent.
public
- finish() — Defined by Zend\ProgressBar\Adapter\AbstractAdapter
- notify() — Defined by Zend\ProgressBar\Adapter\AbstractAdapter
- setFinishMethodName() — Set the finish method name
- setUpdateMethodName() — Set the update method name
Inherited from Zend\ProgressBar\Adapter\AbstractAdapter
public
- finish() — Called when the progress is explicitly finished
- notify() — Notify the adapter about an update
- setOptions() — Set options via an array