Rev | Line | |
---|
[7849] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | include_once 'ofc_bar_base.php';
|
---|
| 4 |
|
---|
| 5 | class 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 |
|
---|
| 26 | class 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.