API Documentation

ProgressBar/Adapter/JsPull.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_ProgressBar
version
$Id: JsPull.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_ProgressBar_Adapter_JsPull

Description

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_JsPull

Extends from
Zend_ProgressBar_Adapter
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_ProgressBar
uses
Zend_ProgressBar_Adapter_Interface
Properties
$_exitAfterSend
Methods
setExitAfterSend
notify
finish
_outputData

Description

Zend_ProgressBar_Adapter_JsPull offers a simple method for updating a progressbar in a browser.

Properties

$_exitAfterSend

boolean $_exitAfterSend = 'true'

Wether to exit after json data send or not

Details

$_exitAfterSend
boolean
visibility
protected
default
true
final
false
static
false

Methods

_outputData

_outputData( string $data ) : void

Outputs given data the user agent.

This split-off is required for unit-testing.

Arguments
$data
string
Details
visibility
protected
final
false
static
false

finish

finish( ) : void

Defined by Zend_ProgressBar_Adapter_Interface

Details
visibility
public
final
false
static
false

notify

notify( float $current, float $max, float $percent, integer $timeTaken, integer $timeRemaining, string $text ) : void

Defined by Zend_ProgressBar_Adapter_Interface

Arguments
$current
float
Current progress value
$max
float
Max progress value
$percent
float
Current percent value
$timeTaken
integer
Taken time in seconds
$timeRemaining
integer
Remaining time in seconds
$text
string
Status text
Details
visibility
public
final
false
static
false

setExitAfterSend

setExitAfterSend( boolean $exitAfterSend ) : Zend_ProgressBar_Adapter_JsPull

Set wether to exit after json data send or not

Arguments
$exitAfterSend
boolean
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.