Skip to content

classes_lib_jquery ui_uimessage.class

Daniel Spors edited this page Feb 14, 2023 · 3 revisions

Classes in file lib/jquery-ui/uimessage.class.php

class uiMessage

This is an inline message. Will use the jQueryUI standard theming.

Namespace: ScavixWDF\JQueryUI

Extends: uiControl » Control » Renderable

addLine

Adds a line to the message.

Definition: public function addLine($message, $icon)

Returns: static

Parameters:

  • mixed $message The message to be added

  • string $icon Icon to be used

addLines

Adds lines to the message.

Definition: public function addLines($messages, $icon)

Returns: static

Parameters:

  • array $messages Array of messages to be added

  • string $icon Icon to be used

append

OVERRIDE Renderable::append

content

OVERRIDE Renderable::content

Error

Creates a new uiMessage as error.

Definition: public static function Error($message, $closeable=true, $autoclose=false)

Returns: static A new uiMessage

Parameters:

  • string $message Error text

  • bool $closeable Display close button true|false

  • bool|int $autoclose If int, represents the number of seconds until autoclose. If True will be 10 seconds, if false autoclose is disabled.

Hint

Creates a new uiMessage as hint.

Definition: public static function Hint($message, $closeable=true, $autoclose=false)

Returns: static A new uiMessage

Parameters:

  • string $message Hint text

  • bool $closeable Display close button true|false

  • bool|int $autoclose If int, represents the number of seconds until autoclose. If True will be 10 seconds, if false autoclose is disabled.

prependLine

Prepends a line to the message.

Definition: public function prependLine($message, $icon)

Returns: static

Parameters:

  • mixed $message The message to be added

  • string $icon Icon to be used

Clone this wiki locally