PHP Classes

wrappedtext: Word wrap class (that skips html tags)

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 1,803 All time: 2,177 This week: 488Up
Version License Categories
wrappedtext 1.0.0GNU General Publi...HTML, Text processing
Description 

Author

If a site uses narrow tables this is a great tool because words that are longer as the width of a table would enlarge the table and deface the site layout. using php's wordwrap function has the disadvantage that the whole text is wrapped which means that short words might also get cut at a certain position of the line. in addition wordwrap can't be used if the text that needs to be wrapped contains html tags.

Picture of Bas Jobsen
Name: Bas Jobsen <contact>
Classes: 9 packages by
Country: The Netherlands The Netherlands
Age: 47
All time rank: 2548 in The Netherlands The Netherlands
Week rank: 195 Up6 in The Netherlands The Netherlands Up

  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file license.txt Lic. license
Accessible without login Plain text file wrappedtext.doc Doc. documentation
Plain text file wrappedtext.php Class wrappedtext

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,803
This week:0
All time:2,177
This week:488Up
 User Ratings  
 
 All time
Utility:33%StarStar
Consistency:45%StarStarStar
Documentation:75%StarStarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4122