Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ConsoleProgressOMeter Class Reference
+ Collaboration diagram for ConsoleProgressOMeter:

Public Member Functions

 __construct ()
 
 setPrefix ($prefix)
 
 setMax ($max)
 
 setInterval ($interval)
 
 setTimeInterval ($interval)
 
 setInteractive ($bool)
 
 setUpdateProcessTitle ($prefix)
 
 start ($at=0)
 
 finish ()
 
 reset ()
 
 progress ($p)
 

Protected Member Functions

 isTimeToUpdateProgress ($p)
 
 eta ($done, $eta=true)
 
 isProcessTitleEnabled ()
 

Protected Attributes

 $starttime = 0
 
 $progress = 1
 
 $max = 1
 
 $interval = 1
 
 $timeInterval = 0
 
 $prevLineLen = 0
 
 $prevLineTime = 0
 
 $isInteractive = true
 
 $updateProcessTitle = false
 
 $prefix = ''
 

Detailed Description

Definition at line 9 of file Class.ConsoleProgressOMeter.php.

Constructor & Destructor Documentation

__construct ( )

Definition at line 22 of file Class.ConsoleProgressOMeter.php.

Member Function Documentation

eta (   $done,
  $eta = true 
)
protected

Definition at line 138 of file Class.ConsoleProgressOMeter.php.

finish ( )

Definition at line 86 of file Class.ConsoleProgressOMeter.php.

isProcessTitleEnabled ( )
protected

Definition at line 148 of file Class.ConsoleProgressOMeter.php.

isTimeToUpdateProgress (   $p)
protected

Definition at line 100 of file Class.ConsoleProgressOMeter.php.

progress (   $p)

Definition at line 113 of file Class.ConsoleProgressOMeter.php.

reset ( )

Definition at line 95 of file Class.ConsoleProgressOMeter.php.

setInteractive (   $bool)

Definition at line 63 of file Class.ConsoleProgressOMeter.php.

setInterval (   $interval)

Definition at line 43 of file Class.ConsoleProgressOMeter.php.

setMax (   $max)

Definition at line 35 of file Class.ConsoleProgressOMeter.php.

setPrefix (   $prefix)

Definition at line 30 of file Class.ConsoleProgressOMeter.php.

setTimeInterval (   $interval)

Definition at line 53 of file Class.ConsoleProgressOMeter.php.

setUpdateProcessTitle (   $prefix)

Definition at line 69 of file Class.ConsoleProgressOMeter.php.

start (   $at = 0)

Definition at line 75 of file Class.ConsoleProgressOMeter.php.

Field Documentation

$interval = 1
protected

Definition at line 14 of file Class.ConsoleProgressOMeter.php.

$isInteractive = true
protected

Definition at line 18 of file Class.ConsoleProgressOMeter.php.

$max = 1
protected

Definition at line 13 of file Class.ConsoleProgressOMeter.php.

$prefix = ''
protected

Definition at line 20 of file Class.ConsoleProgressOMeter.php.

$prevLineLen = 0
protected

Definition at line 16 of file Class.ConsoleProgressOMeter.php.

$prevLineTime = 0
protected

Definition at line 17 of file Class.ConsoleProgressOMeter.php.

$progress = 1
protected

Definition at line 12 of file Class.ConsoleProgressOMeter.php.

$starttime = 0
protected

Definition at line 11 of file Class.ConsoleProgressOMeter.php.

$timeInterval = 0
protected

Definition at line 15 of file Class.ConsoleProgressOMeter.php.

$updateProcessTitle = false
protected

Definition at line 19 of file Class.ConsoleProgressOMeter.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen