HTML_Progress::toHtml

HTML_Progress

Prev |  | Next
HTML_Progress::toHtml returns an HTML version of the progress meter ## Synopsis require_once 'HTML/Progress.php'; string HTML_Progress::toHtml() ## Description This method is used to retrieve the HTML code of the progress meter. ## Note ( HTML_Progress >= 0.2 )
| This function can not be called statically.
## See HTML_Progress::toArray ## Example Example below will display a static version of progress meter.

    <?php
    require_once 'HTML/Progress.php';

    $bar = new HTML_Progress();
    ?>
    <head>
    <title>toHtml example</title>
    <style type="text/css">
    <!--
    <?php echo $bar->getStyle(); ?>
    // -->
    </style>
    </head>
    <body>

    <h1>Basic Progress bar </h1>
    <?php echo $bar->toHtml(); ?>

    </body>
    </html>
Prev | Up | Next
HTML_Progress::hide | Reference Guide | HTML_Progress::toArray
Documentation generated on Sun, 12 Sep 2004 20:23:01 +0200 by phpDocumentor 1.3.0RC3