HTML_Progress2
[ class tree: HTML_Progress2 ] [ index: HTML_Progress2 ] [ all elements ]

Class: RequestStatus

Source Location: /HTML_Progress2-2.4.2/examples/ajax/RequestStatus.class.php

Class Overview


Sample of user-task script, that also handle response for progress meter


Author(s):

Version:

  • $Id$

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 11]
Sample of user-task script, that also handle response for progress meter


[ Top ]


Class Variables

$status = array('labels' => array(),'percentage'=>0)

[line 13]


Type:   mixed


[ Top ]



Method Detail

RequestStatus (Constructor)   [line 15]

RequestStatus RequestStatus( )


[ Top ]

getFullStatus   [line 43]

array getFullStatus( )

Returns new percentage value with associate new labels values.

You can define label value even, if its not declared in progress bar; no error will be raised. See example default3.php and label id 'txt4' usage

  • Access: public

[ Top ]

getStatus   [line 28]

array getStatus( )

Returns only new percentage value
  • Access: public

[ Top ]

updatePercentage   [line 88]

array updatePercentage( )

Move on current user-task and returns only new percentage of progress meter.

Here we simulate a user-task that take many cycles to complete, and we don't know how many.

  • Access: public

[ Top ]

updateTask   [line 73]

array updateTask( )

Move on current user-task and returns full status of progress meter.

Here we simulate a user-task that take many cycles to complete, and we don't know how many.

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:46:43 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.