ZF-5045: Improve Zend_Text_Table


There are several improvements that can be made to Zend_Text_Table:

  • Bug fixes
  • Improved API
  • Auto-sizing cells based on content

The last one especially requires significant changes to the render() methods.

These changes must be made in a BC way, so existing unit tests must pass any reworked component.


Well Matthew, I told you what to do to keep BC. Just go on :)

Most of the changes required are obvious, but actually making them work well and in a way that won't have to change yet again in the future takes time.

I would also like to see an improved configuration of the rendering process to not create a border around the whole table. I need an export in csv format and the api of Zend_Text_Table is quit nice, so i'd like to see a column with no padding and no outer most table border. This can easily be done by adding appropriate configurations to the table/row/column.

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.