Class MessageBoxOKCancel

Description

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

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

Container
   |
   --BaseWidget
      |
      --DialogWidget
         |
         --StandardDialogWidget
            |
            --MessageBoxWidget
               |
               --MessageBoxOK
                  |
                  --MessageBoxOKCancel
Method Summary
MessageBoxOKCancel MessageBoxOKCancel (string $title, string $width, string $message, [string $ok_action = ""], [string $cancel_action = "javascript: history.back();"], [array $hidden_values = array()])
Variables
Methods
Constructor MessageBoxOKCancel (line 243)
MessageBoxOKCancel MessageBoxOKCancel (string $title, string $width, string $message, [string $ok_action = ""], [string $cancel_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
  • string $cancel_action: the cancel 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 MessageBoxOK

MessageBoxOK::MessageBoxOK()

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 Fri, 28 Jan 2011 08:53:10 -0500 by phpDocumentor 1.4.3