Login   Register  
PHP Classes
elePHPant
Icontem

Draw stars for polls system: Draw graphical percentage bars made of star icons

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-06-15 (9 years ago) RSS 2.0 feedStarStar 35%Total: 853 All time: 3,763 This week: 1,400Up
Version License Categories  
drawstars 1.0GNU Lesser General Publ...Graphics
Description Author  

This class is meant to generate graphic percentage bars made with start icons.

It can be used to present the results of poll systems on which the generated percentage bars represent relative values of each poll choice.

The class comes in two versions: one for drawing large stars and another for small stars.

Several presentation details may be configured like the star colors the number of starts to present for 100% bars.

The class generates the star bars images in PNG format.

Picture of Nguyen Duy Quang
Name: Nguyen Duy Quang <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 33
All time rank: 6147 in Australia Australia
Week rank: 761 Down9 in Australia Australia Down

  Files folder image Files  
File Role Description
Plain text file cls.drawstars.php Class Draw large stars
Plain text file cls.drawstars2.php Class Draw small stars
Accessible without login Plain text file polls.php Example Example with large stars
Accessible without login Plain text file polls2.php Example Example with large stars

 Version Control Unique User Downloads Download Rankings  
 0%Total:853All time:3,763
 This week:0This week:1,400Up
User Ratings User Comments (1)  
 All time
Utility:50%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:41%StarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:2274
 
Many errors in this script
4 years ago (julien)
7%Star