PHP Classes

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

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 241 All time: 8,024 This week: 206Up
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: 4014324 in Brazil Brazil
Week rank: 227 Up20 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 (1)  
  • preview
  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:241
This week:0
All time:8,024
This week:206Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2419
 
Thats a good class ;-)
6 years ago (José Filipe Lopes Santos)
70%StarStarStarStar