PHP Classes

PHP Create Price Range: Create dynamic price ranges according to groups

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 241 This week: 1All time: 8,017 This week: 560Up
Version License PHP version Categories
pricerange 1.0.0Freeware5PHP 5, E-Commerce, Finances
Description 

Author

This class can create dynamic price ranges according to groups.

It takes an array with price group values and creates dynamic price ranges with minimum and maximum values.

The class return a list of intervals with a minimum a maximum with the
amount of items that are within each range.

Innovation Award
PHP Programming Innovation award nominee
January 2018
Number 8
This class can create dynamic price ranges according to groups.

It takes an array with price group values and creates dynamic price ranges with minimum and maximum values.

The class return a list of intervals with a minimum a maximum with the
amount of items that are within each range.

Manuel Lemos
Picture of Mauricio Cunha
Name: Mauricio Cunha <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 4009324 in Brazil Brazil
Week rank: 411 Up35 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php
    $array
= array(10, 50, 50, 520, 140, 551, 199, 601, 601, 650, 681, 350, 250, 851, 871, 871, 900, 990, 999, 1001, 1130, 1149, 351, 1300, 4460);
   
$t = new PriceRange($array);
    echo
$t->show();
?>


Details

Class to create ranges of prices

Screenshots  
  • preview
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file license Lic. license
Plain text file pricerange.php Class The class and an example
Accessible without login Plain text file readme Data readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:241
This week:1
All time:8,017
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2382
 
Thats a good class ;-)
6 years ago (José Filipe Lopes Santos)
70%StarStarStarStar