PHP Classes

File: example_multiple_folder.php

Recommend this page to a friend!
  Classes of Ersin Güvenç  >  Folder Space Folder Quota with Percent Bar  >  example_multiple_folder.php  >  Download  
File: example_multiple_folder.php
Role: Example script
Content type: text/plain
Description: example multiple folder in one bar
Class: Folder Space Folder Quota with Percent Bar
Shows bars with the available space in directories
Author: By
Last change:
Date: 14 years ago
Size: 793 bytes


Class file image Download


//Check Multiple folder calculate total space and union them in one bar.
//do not add subfolder folder_space can calculate the sub directories..

$data = array(
'total'=>3072, //3 kb //quota please enter in byte format
'max_height'=>150, //Set your Graphic height (px).
'max_width'=>4, //Set your Graphic width (px).
'axis'=> 'vertical', //horizontal
'bar_name'=>'Multiple Folder in One Bar', //label
'dir'=> array(FOLDER1,FOLDER2), ## set MULTIPLE folder !!!
'empty_color'=>'#DDDDDD', //empty bar color
'full_color'=>'#bb3902', //full bar color
'float'=>'left' //css float control left or right
$folder = new handle();