Login   Register  
PHP Classes
elePHPant
Icontem

StringGrid: Display information in plain text tables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-07-07 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 516 This week: 1All time: 5,151 This week: 1,420Up
Version License PHP version Categories  
stringgrid 0.1GNU General Public Lice...3.0Text processing
Description Author  
PHP Programming Innovation award nominee
July 2007
Number 10


Prize: One subscription to the PDF edition of the magazine by PHP Architect
This class can be used to present information tables rendered with plain text characters.

It takes a bi-dimensional array of data and generates text that renders the data in a table aligning rows and columns.

The layout can be configure with additional information that specified details like the limit width of each column, vertical and horizontal alignment of the cells of each column, the characters used to separate rows, columns and line breaks.
Picture of Jochen Preusche
Name: Jochen Preusche <contact>
Classes: 1 package by
Country: Germany Germany
Age: 35
All time rank: 2879174 in Germany Germany
Week rank: 1076 Up50 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • stringGrid.png
  • output
  Files folder image Files  
File Role Description
Plain text file example2.php Example example #2
Plain text file example1.php Example example #1
Plain text file class.stringGrid.php Class StringGrid class package

Innovation Award  
PHP Programming Innovation award nominee
July 2007
Number 10


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Tables are useful for displaying information in cells that must be aligned with other cells simultaneously in the horizontal and vertical directions.

Tables are supported directly by HTML. However, if you need to render tables in plain text the solution is more complicated.

This package can render tables in plain text. It can be useful for displaying table formatted information, for instance to generate text e-mail newsletters.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 0%Total:516All time:5,151
 This week:1This week:1,420Up