PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::setFrameAttributes — Build a frame around the progress bar

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setFrameAttributes( $attributes = array());  
NULL|array   $attributes = array();

Description

Allows to build a customisable frame (color, size) around the progress meter.

Defaults are:

  • show = true

  • left = 200

  • top = 100

  • width = 320

  • height = 90

  • color = #C0C0C0

  • border-width = 2

  • border-style = solid

  • border-color = #DFDFDF #404040 #404040 #DFDFDF

Parameter

NULL|array $attributes

(optional) hash of style parameters

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT, HTML_PROGRESS2_ERROR_INVALID_OPTION

Note

since 2.0.0

This function can not be called statically.

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