PHP Classes

String Limiter: Get a string with a given length limit

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
Not enough user ratingsTotal: 399 All time: 6,580 This week: 488Up
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

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

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:399
This week:0
All time:6,580
This week:488Up