Login   Register  
PHP Classes
elePHPant
Icontem

FBCount: Generate enumerated lists of name

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-12-07 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 100 All time: 7,619 This week: 2,464Up
Version License PHP version Categories  
fbcount 1.0GNU Lesser General Publ...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: 1981 in Serbia Serbia
Week rank: 284 Down3 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,619
 This week:0This week:2,464Up