mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
41
pages/php-ofc-library/ofc_bar_base.php
Normal file
41
pages/php-ofc-library/ofc_bar_base.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/* this is a base class */
|
||||
|
||||
class bar_base
|
||||
{
|
||||
function bar_base(){}
|
||||
|
||||
function set_key( $text, $size )
|
||||
{
|
||||
$this->text = $text;
|
||||
$tmp = 'font-size';
|
||||
$this->$tmp = $size;
|
||||
}
|
||||
|
||||
function set_values( $v )
|
||||
{
|
||||
$this->values = $v;
|
||||
}
|
||||
|
||||
function append_value( $v )
|
||||
{
|
||||
$this->values[] = $v;
|
||||
}
|
||||
|
||||
function set_colour( $colour )
|
||||
{
|
||||
$this->colour = $colour;
|
||||
}
|
||||
|
||||
function set_alpha( $alpha )
|
||||
{
|
||||
$this->alpha = $alpha;
|
||||
}
|
||||
|
||||
function set_tooltip( $tip )
|
||||
{
|
||||
$this->tip = $tip;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user