Skip to content

classes_lib_jquery ui_dialog_uidialog.class

Daniel Spors edited this page Dec 19, 2023 · 3 revisions

Classes in file lib/jquery-ui/dialog/uidialog.class.php

class uiDialog

Wraps a jQueryUI Dialog See http://jqueryui.com/dialog/

Extends: uiControl » Control » Renderable

Subclasses: uiConfirmation, uiFormDialog, uiMessageBox, uiTableLayoutDialog

AddButton

Adds a button to the dialog.

Definition: public function AddButton($label, $action, $prepend=false)

Returns: static

Parameters:

  • string $label Button text

  • string $action JS code for button click event

  • string $prepend If true will prepend the button, else append

AddCloseButton

Adds a close button.

Definition: public function AddCloseButton($label, $action=false)

Returns: static

Parameters:

  • string $label Close button text

  • string $action Action to be performed on click, defaults to the standard close action

PreRender

OVERRIDE uiControl::PreRender

SetButton

SHORTCUT uiDialog::AddButton

__construct

Definition: public function __construct($title, $options)

Returns: NOT DOCUMENTED

Parameters:

Clone this wiki locally