PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::setBorderAttributes — Sets the progress bar's border attributes

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setBorderAttributes( $attributes);  
mixed   $attributes;

Description

Defines all border attributes (color, size, ...) a progress bar (only horizontal or vertical) can handle.

Defaults are:

  • class = progressBorder%s

  • width = 0

  • style = solid

  • color = #000000

Parameter

mixed $attributes

Associative array or string of HTML tag attributes

Throws

throws no exceptions thrown

See

see HTML_Progress2::getBorderAttributes

Note

since 2.0.0

This function can not be called statically.

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