PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::getOrientation — Returns orientation of the progress bar

Synopsis

      require_once 'HTML/Progress2.php';
     
integer HTML_Progress2::getOrientation( );  
  ;

Description

There are only two distinct orientations for a progress bar: horizontal and vertical, identified by two constants: HTML_PROGRESS2_BAR_HORIZONTAL and HTML_PROGRESS2_BAR_VERTICAL. While circle and other polygonal progress meter are identified by two other constants: HTML_PROGRESS2_CIRCLE and HTML_PROGRESS2_POLYGONAL. The default orientation is horizontal.

Throws

throws no exceptions thrown

See

see HTML_Progress2::setOrientation

Note

since 2.0.0

This function can not be called statically.

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