Name
HTML_Progress2::setOrientation
—
Sets orientation of the progress bar
Synopsis
require_once 'HTML/Progress2.php';
void HTML_Progress2::setOrientation(
|
$orient) ;
|
|
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.
Parameter
-
integer
$orient
-
Orientation (horizontal or vertical)
Throws
throws
HTML_PROGRESS2_ERROR_INVALID_INPUT
Note
since 2.0.0
This function can not be called statically.