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.
Zend_ProgressBar_Adapter_JsPush offers a simple method for updating a progressbar in a browser.
string $_finishMethodName = ''
Name of the JavaScript method to call on finish
string $_updateMethodName = 'Zend_ProgressBar_Update'
Name of the JavaScript method to call on update
_outputData(
string $data
)
:
void
Outputs given data the user agent.
This split-off is required for unit-testing.
finish(
)
:
void
Defined by Zend_ProgressBar_Adapter_Interface
notify(
float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text
)
:
void
Defined by Zend_ProgressBar_Adapter_Interface
setFinishMethodName(
string $methodName
)
:
Zend_ProgressBar_Adapter_JsPush
Set the finish method name
setUpdateMethodName(
string $methodName
)
:
Zend_ProgressBar_Adapter_JsPush
Set the update method name