Files
opensourcepos/application/libraries/ofc-library/ofc_bar_filled.php
pappastech ecdf3a5aa1 Version 2.0_RC1. Upgrade to CI 2.1.0.
Tom

git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@24 c3eb156b-1dc0-44e1-88ae-e38439141b53
2012-01-16 02:16:01 +00:00

40 lines
761 B
PHP

<?php
include_once 'ofc_bar_base.php';
class bar_filled_value extends bar_value
{
function bar_filled_value( $top, $bottom=null )
{
parent::bar_value( $top, $bottom );
}
function set_outline_colour( $outline_colour )
{
$tmp = 'outline-colour';
$this->$tmp = $outline_colour;
}
}
class bar_filled extends bar_base
{
function bar_filled( $colour=null, $outline_colour=null )
{
$this->type = "bar_filled";
parent::bar_base();
if( isset( $colour ) )
$this->set_colour( $colour );
if( isset( $outline_colour ) )
$this->set_outline_colour( $outline_colour );
}
function set_outline_colour( $outline_colour )
{
$tmp = 'outline-colour';
$this->$tmp = $outline_colour;
}
}