mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-25 01:37:59 -05:00
Tom git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@24 c3eb156b-1dc0-44e1-88ae-e38439141b53
35 lines
451 B
PHP
35 lines
451 B
PHP
<?php
|
|
|
|
include_once '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();
|
|
}
|
|
}
|
|
|