Source for file circleplain.php
Documentation is available at circleplain.php
@include '../../include_path.php';
* plain Circle Progress example.
* @version $Id: circleplain.php,v 1.1 2004/04/18 13:25:43 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
require_once 'HTML/Progress.php';
$ui->setStringAttributes ('background-color=#eeeeee');
$ui->setCellAttributes ('width=50 height=50 spacing=0 background-color=#eeeeee');
$ui->drawCircleSegments ('temp', 'c%s.png');
<title>Basic Circle ProgressBar example</title>
<?php echo $bar->getStyle (); ?>
background-color: #EEEEEE;
font-family: Verdana, Arial;
a:visited, a:active, a:link {
<script type="text/javascript">
<?php echo $ui->getScript (); ?>
<h1> <?php echo basename(__FILE__ ); ?></h1>
if ($bar->getPercentComplete () == 1 ) {
break; // the progress bar has reached 100%
<p><< <a href="index.html">Back examples TOC</a></p>
Documentation generated on Mon, 11 Mar 2019 10:15:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|