PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Chapter 18. HTML_Progress2_Lite

Table of Contents

Quick API Reference
Quick-Cards Atttributes Reference

This chapter describes every API in the HTML_Progress2_Lite class and provides quick-cards attribute lists reference.

Quick API Reference

setDirection()

Defines the progress bar fill way and shape. Default: horizontal bar filled from left to right.

horizontal bar

  • from left to right (= right)
  • from right to left (= left)

vertical bar

  • from down to up (= up)
  • from up to down (= down)
addLabel()

add a new label to the progress bar

removeLabel()

remove an existing label to the progress bar

addButton()

add a new button to the progress bar

removeButton()

remove an existing button to the progress bar

setFrameAttributes()

build a frame around the progress bar

setLabelAttributes()

defines style of a progress bar label.

moveNext(), moveStep()

changes the value of the progress bar and refresh display

moveMin()

restart at beginning of a progress bar

display()

send progress bar renders to browser

hide()

hide the progress bar on display

show()

show a progress bar already hidden on display

HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007