Docs For Class ButtonPanel

## Class ButtonPanel

Description

This class defines a bottom button panel for a dialog box window It is a BaseWidget child with a specific css style class and border This row is separated by vertical top line

- author: Suren Markosian

Located in /widgets/ButtonPanel.inc (line 19)

    Container
       |
       --BaseWidget
          |
          --ButtonPanel

Variable Summary
mixed $data
Method Summary
none. ButtonPanel ([string $width = "100%"], [string $align = "center"])
void add (mixed $content)
void render (mixed $indent_level, mixed $output_debug)
DIVtag &_build_wrapper ()
Variables
mixed $data (line 25)

Holds all the buttons

#### Inherited Variables

Inherited from BaseWidget

> BaseWidget::$title
> BaseWidget::$width
> BaseWidget::$_image_prefix

Methods
Constructor ButtonPanel (line 33)
none. ButtonPanel ([string $width = "100%"], [string $align = "center"])

- string $width: the width of the button panel
- string $align: the alignment.

add (line 44)

Push content onto the data object

adds a button to the data

void add (mixed $content)

- mixed $content: - either string, or tag object.

Redefinition of:

Container::add()
  add content onto content stack

render (line 57)

render the entire table.

void render (mixed $indent_level, mixed $output_debug)

Redefinition of:

Container::render()
  This function is compatible with the rest of the phpHtmllib API spec.

_build_wrapper (line 74)

Builds the outer wrapper for the panel

- return: object

DIVtag &_build_wrapper ()

#### Inherited Methods

Inherited From BaseWidget

> BaseWidget::get_align()
> BaseWidget::get_css()
> BaseWidget::get_javascript()
> BaseWidget::get_title()
> BaseWidget::get_width()
> BaseWidget::set_align()
> BaseWidget::set_image_path_prefix()
> BaseWidget::set_title()
> BaseWidget::set_width()

Inherited From Container

> Container::Container()
> Container::add()
> Container::add_reference()
> Container::count_content()
> Container::get_element()
> Container::get_indent_flag()
> Container::push()
> Container::push_reference()
> Container::render()
> Container::reset_content()
> Container::set_collapse()
> Container::set_indent_flag()

Documentation generated on Thu, 1 Sep 2005 17:05:33 -0700 by phpDocumentor 1.3.0RC3