helpers\BaseConsole updateProgress()

updateProgress() public static method

Updates a progress bar that has been started by startProgress().

See also:

public static void updateProgress ( $done, $total, $prefix = null )
$done integer

The number of items that are completed.

$total integer

The total value of items that are to be done.

$prefix string

An optional string to display before the progress bar. Defaults to null meaning the prefix specified by startProgress() will be used. If prefix is specified it will update the prefix that will be used by later calls.

doc_Yii
2016-10-30 17:04:41
Comments
Leave a Comment

Please login to continue.