PHP Classes

Rating Star: Display star images according to rating values

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 1,317 This week: 1All time: 2,930 This week: 560Up
Version License PHP version Categories
star_class 1.0Freely Distributable3.0HTML, Content management
Description 

Author

This is a simple class that can be used to display star images according to rating values.

It takes a rating value between 1 and 5 points. The value may include half points.

The class generates HTML to display as may bright stars as points. If the points are less than 5, it also displays dimmed stars for the remaining points. Half points are turned into a star that is half bright and the other half is dimmed.

Picture of Akhilesh
Name: Akhilesh <contact>
Classes: 2 packages by
Country: India India
Age: 39
All time rank: 1805109 in India India
Week rank: 416 Up25 in India India Up

  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Plain text file star_class.php Class this is the class file
Accessible without login Plain text file example.php Example this is example

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file halfstar.gif Photo image
  Accessible without login Image file star.gif Photo image
  Accessible without login Image file dimstar.gif Photo image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,317
This week:1
All time:2,930
This week:560Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:39%StarStar
Rank:3856