mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
34
pages/php-ofc-library/ofc_bar.php
Normal file
34
pages/php-ofc-library/ofc_bar.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user