Issue Type: Improvement Created: 2009-04-08T06:36:36.000+0000 Last Updated: 2012-11-20T20:52:41.000+0000 Status: Closed Fix version(s): Reporter: Stephan Wentz (swentz) Assignee: None Tags: - Zend_ProgressBar
Related issues: Attachments: - adapter.diff
Add an element that show absolute values to the Console adapter. Like the percent element, but with the absolute values, currentValue / maxValue. Example: 999 / 14000
This would be an improvement for a progress bar with large values, for example we have a process with about 50.000 steps.
Posted by Stephan Wentz (swentz) on 2009-04-08T07:59:01.000+0000
Here is are the diffs for the modified Zend_Progress_Adapter_Console, and the adapter's test. It allows absolute value elements.
Please mind - inside _calculateBarWidth() the max-calue is missing, which is needed for calculating the absolute elements width. It is hardcoded to 9 right now, this should be fixed by the maintainer.
Another nice to have would be a string-template for the absolute string, right now it's "$currentValue / $maxValue". Example: 53 / 150
Posted by Rob Allen (rob) on 2012-11-20T20:52:41.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.
Have you found an issue?
See the Overview section for more details.