blob: 728420c50366094a8fb5b599189094ab6d0130c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?php
include_once dirname(__FILE__) . '/ofc_bar_base.php';
class bar_value
{
function bar_value( $top, $bottom=null )
{
$this->top = $top;
if( isset( $bottom ) )
$this->bottom = $bottom;
}
function set_colour( $colour )
{
$this->colour = $colour;
}
function set_tooltip( $tip )
{
$this->tip = $tip;
}
}
class bar extends bar_base
{
function bar()
{
$this->type = "bar";
parent::bar_base();
}
}
|