PHP Classes

FBCount: Generate enumerated lists of name

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-12-07 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 100 All time: 7,759 This week: 2,464Up
Version License PHP version Categories  
fbcount 1.0GNU Lesser Genera...4.0Text processing
Description Author  

This class can generate enumerated lists of names.

It takes an array with a list of names and generates a single string separated with commas except the last two names that are separated by the word "and".

The names can be formatted with a configurable template string that is passed to the sprintf function. If the name list array is associative, both the array entry values and keys are passed.

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 28
All time rank: 1941 in Serbia Serbia
Week rank: 206 Down2 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file fbcount.class.php Class Class itself
Accessible without login Plain text file fbcount.test.php Example Example of usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:100All time:7,759
 This week:0This week:2,464Up