Docs For Class MessageBoxOK

## Class MessageBoxOK

Description

This is a class for building a MessageBox with an OK button.

- author: Walter A. Boring IV <waboring@newsblob.com>

Located in /widgets/MessageBoxWidget.inc (line 208)

    Container
       |
       --BaseWidget
          |
          --DialogWidget
             |
             --StandardDialogWidget
                |
                --MessageBoxWidget
                   |
                   --MessageBoxOK

Direct descendents

Class | Description
--- | ---
MessageBoxOKCancel | This is a class for building a MessageBox with an OK and Cancel button.

Method Summary
MessageBoxOK MessageBoxOK (string $title, string $width, string $message, [string $ok_action = "javascript:history.back();"], [array $hidden_values = array()])
Variables

#### Inherited Variables

Inherited from MessageBoxWidget

> MessageBoxWidget::$_form_method
> MessageBoxWidget::$_has_form
> MessageBoxWidget::$_hidden_vars
> MessageBoxWidget::$_message

Inherited from DialogWidget

> DialogWidget::$_buttons
> DialogWidget::$_cancel_url
> DialogWidget::$_show_cancel_button

Inherited from BaseWidget

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

Methods
Constructor MessageBoxOK (line 218)
MessageBoxOK MessageBoxOK (string $title, string $width, string $message, [string $ok_action = "javascript:history.back();"], [array $hidden_values = array()])

- string $title: the title
- string $width: the width
- string $message: the message for the box
- string $ok_action: the ok action to perform. history.back() by default
- array $hidden_values: an array of hidden form variables to post along with the form.

#### Inherited Methods

Inherited From MessageBoxWidget

> MessageBoxWidget::MessageBoxWidget()
> MessageBoxWidget::add_button()
> MessageBoxWidget::add_hidden_variable()
> MessageBoxWidget::add_hidden_variables()
> MessageBoxWidget::form_action_button()
> MessageBoxWidget::get_message()
> MessageBoxWidget::render()
> MessageBoxWidget::set_message()

Inherited From StandardDialogWidget

> StandardDialogWidget::add_block()
> StandardDialogWidget::_build_message_container()

Inherited From DialogWidget

> DialogWidget::DialogWidget()
> DialogWidget::add()
> DialogWidget::add_button()
> DialogWidget::render()
> DialogWidget::set_cancel_url()
> DialogWidget::show_cancel_button()
> DialogWidget::_build_cancel_url()
> DialogWidget::_build_message_container()

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:06:05 -0700 by phpDocumentor 1.3.0RC3