Source for file circleback.php
Documentation is available at circleback.php
@include '../include_path.php';
* Custom Circle Reverse Progress example.
* @version $Id: circleback.php,v 1.1 2004/06/29 20:48:52 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
require_once 'HTML/Progress.php';
$ui->setfillway ('reverse');
$ui->setStringAttributes ('font-size=20 width=100');
$ui->setCellAttributes (array (
'inactive-color' => 'navy',
// uses cached files rather than create it again and again
foreach (range(0 ,10 ) as $index) {
$ui->setCellAttributes (array ('background-image' => '../temp/cb'. $index. '.png'),$index);
// creates circle segments pictures only once
$ui->drawCircleSegments ('../temp', 'cb%s.png');
<title>Custom Circle Reverse ProgressBar example</title>
<?php echo $bar->getStyle (); ?>
background-color: #FFFFFF;
font-family: Verdana, Arial;
a:visited, a:active, a:link {
<script type="text/javascript">
<?php echo $ui->getScript (); ?>
<h1> <?php echo basename(__FILE__ ); ?></h1>
<p><< <a href="../index.html">Back examples TOC</a></p>
Documentation generated on Mon, 11 Mar 2019 13:52:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|