HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next

getFillWay Manual

returns the fill way of the progress bar

by by Laurent Laville
mailto:pear@laurent-laville.org
November 2003, Laurent Laville
(HTML_Progress 1.0+)

Synopsis

string getFillWay()

Description

The getFillWay() method is used to know how the progress bar is filled. It could be natural (left to right for horizontal progress bar), (down to up for vertical progress bar) or reverse (right to left for horizontal progress bar), (up to down for vertical progress bar).

Example

  1. <?php
  2. require_once ('HTML/Progress.php');
  3.  
  4. $bar = new HTML_Progress();
  5.  
  6. $ui =$bar->getUI();
  7. $ui->setFillWay('reverse');
  8.  
  9. print('this progress bar will be filled in ' $ui->getFillWay(' way');
  10. ?>

Output will display string(7) "reverse".

See Also

setFillWay Manual

Prev Up Next
setCellCount Manual Reference Guides setFillWay Manual

Documentation generated on Mon, 11 Mar 2019 13:52:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.