source: code/Website/php-ofc-library/ofc_bar.php@ 7849

Last change on this file since 7849 was 7849, checked in by dennisw, 15 years ago
File size: 451 bytes
RevLine 
[7849]1<?php
2
3include_once 'ofc_bar_base.php';
4
5class bar_value
6{
7 function bar_value( $top, $bottom=null )
8 {
9 $this->top = $top;
10
11 if( isset( $bottom ) )
12 $this->bottom = $bottom;
13 }
14
15 function set_colour( $colour )
16 {
17 $this->colour = $colour;
18 }
19
20 function set_tooltip( $tip )
21 {
22 $this->tip = $tip;
23 }
24}
25
26class bar extends bar_base
27{
28 function bar()
29 {
30 $this->type = "bar";
31 parent::bar_base();
32 }
33}
34
Note: See TracBrowser for help on using the repository browser.