Source for file constructor_model.php
Documentation is available at constructor_model.php 
@include '../../include_path.php';   
 * ProgressBar model example.  
 * @version    $Id: constructor_model.php,v 1.2 2004/04/18 13:25:43 farell Exp $  
 * @author     Laurent Laville <pear@laurent-laville.org>  
require_once 'HTML/Progress.php';   
$bar = new HTML_Progress ($timer);   
$bar->setStringPainted (true );           // get space for the string  
$bar->setString ('');                    // but don't paint it  
$ui->setStringAttributes ('width=170 height=20 valign=bottom align=center');   
<title>ProgressBar model 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  $bar->getScript ();  ?>  
<h1> <?php echo  basename(__FILE__ );  ?></h1>  
        $bar->setString ('All done!');   
        break;    // the progress bar has reached 100% 
        $bar->setString ('Fourth part way done!');   
        $bar->setString ('Half way done!');   
        $bar->setString ('Three quarters way done!');   
<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.
	        
       |