Login   Register  
PHP Classes
elePHPant
Icontem

String Limiter: Get a string with a given length limit

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-09 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 397 All time: 5,948 This week: 2,117Up
Version License PHP version Categories  
string-limiter 1.0Public Domain5.0HTML, PHP 5, Text processing
Description Author  

This is a very simple class that can Get a string with a given length limit.

It takes a text string and if it exceeds a given length limit, the string is truncated and a HTML link tag to see more is appended to the end the truncated link.

The URL of the link to see more is configurable.

Picture of julio leles
Name: julio leles <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 3172247 in Brazil Brazil
Week rank: 1779 Up147 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file strings.class.php Class limitador de strings

 Version Control Unique User Downloads Download Rankings  
 0%Total:397All time:5,948
 This week:0This week:2,117Up