\Pydio\Core\ControllerProgressBarCLI

Class AJXP_ProgressBarCLI Simple object to print a progress bar on the command-line.

Summary

Methods
Properties
Constants
init()
update()
convertNumToStrBlank()
clearLine()
setName()
ago()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
addStartString()
addEndString()
convertToPercent()
convertNumToStr()
formatName()
$strProgress
$strLength
$strName
$strNameLengthMax
$total
$isFinish
$lastPercent
$barSign
$startPoint
$lastsecond
N/A

Properties

$strProgress

$strProgress : 

Type

$strLength

$strLength : 

Type

$strName

$strName : 

Type

$strNameLengthMax

$strNameLengthMax : 

Type

$total

$total : 

Type

$isFinish

$isFinish : 

Type

$lastPercent

$lastPercent : 

Type

$barSign

$barSign : 

Type

$startPoint

$startPoint : 

Type

$lastsecond

$lastsecond : 

Type

Methods

init()

init(  $currentValue,   $total,   $name) 

Parameters

$currentValue
$total
$name

update()

update(  $currentValue) 

Parameters

$currentValue

convertNumToStrBlank()

convertNumToStrBlank(  $num) 

Parameters

$num

clearLine()

clearLine(  $lineLength = 80) 

Parameters

$lineLength

setName()

setName(  $name) 

Parameters

$name

ago()

ago(  $time) 

Parameters

$time

addStartString()

addStartString() 

addEndString()

addEndString() 

convertToPercent()

convertToPercent(  $currentValue,   $maxValue) 

Parameters

$currentValue
$maxValue

convertNumToStr()

convertNumToStr(  $num) 

Parameters

$num

formatName()

formatName(  $name) 

Parameters

$name