Login   Register  
PHP Classes
elePHPant
Icontem

Class: Vote Image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nguyen Duy Quang  >  Vote Image  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Vote Image
Base name: vote_image
Description: Generate images to render the average of votes
Related classes: , , , , , , ,
Version: 0.1
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 520 users
All time rank: 4414
Week users: 0 users
Week rank: 2590
Picture of Nguyen Duy Quang
Author: Nguyen Duy Quang <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Australia Australia - PHP jobs in Australia
Age: 30
All time rank: 5916 in Australia Australia
Week rank: 2242 Down28 in Australia Australia Down


  Detailed description  
This is a simple class that can be used to render an image that can represent the average of votes taken in a poll.

It takes as parameters the total number of votes and the number of approval votes.

The class generates an image that shows the proportion of approval votes relatively to the total number of votes.

It uses an image to show the part that represents the approving votes, and another image to show the remaining votes. The images that it uses to render both parts are configurable.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  
  Files folder image Screenshots  
When you export
File Role Description
Accessible without login Image file vote-screen.jpg Screen When you export


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file cls.vote.php Class Class to draw vote image
Plain text file getimgvote.php Example Get the image vote from class
Image file heartblank.png Icon Image with heart no fill
Image file heartfill.png Icon Image with heart full fill
Plain text file testvoteimage.html Data Out put image vote to html

Download all files: vote_image.tar.gz vote_image.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.