HTML_Progress2
[ class tree: HTML_Progress2 ] [ index: HTML_Progress2 ] [ all elements ]

Class: myBar

Source Location: /HTML_Progress2-2.4.2/examples/preload/notification.php

Class Overview

HTML_Common
   |
   --HTML_Progress2
      |
      --myBar

HTML loading bar with only PHP and JS interface.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Laurent Laville

Methods


Inherited Variables

Inherited Methods

Class: HTML_Progress2

HTML_Progress2::HTML_Progress2()
Constructor (ZE1)
HTML_Progress2::__construct()
Constructor (ZE2) Summary
HTML_Progress2::addLabel()
Add a new label to the progress meter.
HTML_Progress2::addListener()
Attachs a new observer.
HTML_Progress2::apiVersion()
Returns the current API version.
HTML_Progress2::display()
Renders the new value of progress meter.
HTML_Progress2::drawCircleSegments()
Draw all circle segment pictures.
HTML_Progress2::fileExists()
Checks whether the file exists in the include path
HTML_Progress2::getAnimSpeed()
Returns delay execution of the progress meter.
HTML_Progress2::getBorderAttributes()
Returns progress bar's border attributes values.
HTML_Progress2::getCellAttributes()
Returns cell attributes values.
HTML_Progress2::getCellCoordinates()
Returns coordinates of each cell for a polygonal progress meter.
HTML_Progress2::getCellCount()
Returns count of cell in the progress meter.
HTML_Progress2::getError()
Pop an error off of the HTML_Progress2 stack.
HTML_Progress2::getFillWay()
Returns fill option of the progress meter.
HTML_Progress2::getFrameAttributes()
Returns frame attributes values.
HTML_Progress2::getIdent()
Returns the progress meter identifier.
HTML_Progress2::getIncrement()
Returns the progress meter increment value.
HTML_Progress2::getLabelAttributes()
Returns attributes values of an existing label.
HTML_Progress2::getMaximum()
Returns the progress meter maximum value.
HTML_Progress2::getMinimum()
Returns the progress meter minimum value.
HTML_Progress2::getOrientation()
Returns orientation of the progress bar.
HTML_Progress2::getPercentComplete()
Returns the percent complete of the progress meter.
HTML_Progress2::getProgressAttributes()
Returns the progress background attributes values.
HTML_Progress2::getScript()
Returns javascript progress meter handler.
HTML_Progress2::getStyle()
Returns the cascading style sheet (CSS).
HTML_Progress2::getValue()
Returns the progress meter current value.
HTML_Progress2::hasErrors()
Determine whether there are errors into the HTML_Progress2 stack.
HTML_Progress2::hide()
Hides the progress meter.
HTML_Progress2::importStyle()
Import cascading style sheet (CSS) elements
HTML_Progress2::incValue()
Updates the internal progress meter current value.
HTML_Progress2::isBorderPainted()
Determines whether the progress bar border is painted or not.
HTML_Progress2::isIndeterminate()
Returns mode of the progress meter.
HTML_Progress2::moveNext()
Changes new value of the progress meter by increment increase.
HTML_Progress2::moveStep()
Changes new value of the progress meter by step increase.
HTML_Progress2::process()
Performs the progress user process.
HTML_Progress2::raiseError()
A basic wrapper around the default PEAR_Error object.
HTML_Progress2::registerAFLAX()
Register an external AFLAX server to upload file with a progress meter.
HTML_Progress2::registerAJAX()
Register an external AJAX server to use for progress bar polling.
HTML_Progress2::removeLabel()
Removes a label to the progress meter.
HTML_Progress2::removeListener()
Removes a registered observer.
HTML_Progress2::run()
Runs the progress meter.
HTML_Progress2::setAnimSpeed()
Sets delay execution of the progress meter.
HTML_Progress2::setBorderAttributes()
Sets the progress bar's border attributes.
HTML_Progress2::setBorderPainted()
Decides to paint or not a border to the progress bar.
HTML_Progress2::setCellAttributes()
Sets cell attributes values.
HTML_Progress2::setCellCoordinates()
Sets coordinates of each cell for a polygonal progress meter.
HTML_Progress2::setCellCount()
Sets count of cell in the progress meter.
HTML_Progress2::setFillWay()
Sets fill option of the progress meter.
HTML_Progress2::setFrameAttributes()
Sets the progress meter frame attributes.
HTML_Progress2::setIdent()
Sets the progress meter identifier.
HTML_Progress2::setIncrement()
Sets the progress meter increment value.
HTML_Progress2::setIndeterminate()
Sets the mode of progress meter.
HTML_Progress2::setLabelAttributes()
Sets attributes values of an existing label.
HTML_Progress2::setMaximum()
Sets the progress meter maximum value.
HTML_Progress2::setMinimum()
Sets the progress meter minimum value.
HTML_Progress2::setOrientation()
Sets orientation of the progress bar.
HTML_Progress2::setProgressAttributes()
Sets the progress background attributes values.
HTML_Progress2::setProgressHandler()
Sets the user progress callback function.
HTML_Progress2::setScript()
Sets the javascript progress meter handler.
HTML_Progress2::setupAFLAX()
Include all needed JS libraries
HTML_Progress2::setupAJAX()
Include all needed libraries, stubs, and set defaultServer
HTML_Progress2::setValue()
Sets the progress meter current value.
HTML_Progress2::sleep()
Delay execution.
HTML_Progress2::toArray()
Returns the progress meter structure into an array.
HTML_Progress2::toHtml()
Returns the progress meter structure as HTML.

Class Details

[line 36]
HTML loading bar with only PHP and JS interface.

The HTML_Progress2 class allow you to add a loading bar to any of your xhtml document. You should have a browser that accept DHTML feature.

Here is a basic example:

  1.  <?php
  2.  require_once 'HTML/Progress2.php';
  3.  
  4.  $pb = new HTML_Progress2();
  5.  $pb->setAnimSpeed(50);
  6.  ?>
  7.  <html>
  8.  <head>
  9.  <?php
  10.  echo $pb->getStyle(false);
  11.  echo $pb->getScript(false);
  12.  ?>
  13.  </head>
  14.  <body>
  15.  <?php
  16.  $pb->display();
  17.  $pb->run();
  18.  ?>
  19.  </body>
  20.  </html>

  • Author: Laurent Laville <pear@laurent-laville.org>
  • Version: Release: @package_version@
  • Copyright: 2005-2008 Laurent Laville


[ Top ]


Method Detail

myBar (Constructor)   [line 38]

myBar myBar( )


[ Top ]

notify   [line 43]

void notify( &$notification)


Parameters:

   &$notification   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:46:43 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.