-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_jquery ui_uimessage.class
This is an inline message. Will use the jQueryUI standard theming.
Namespace: ScavixWDF\JQueryUI
Extends: uiControl » Control » Renderable
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
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
OVERRIDE Renderable::append
OVERRIDE Renderable::content
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.
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.
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