Modal extends Library implements Modal
Interfaces, Classes and Traits
- Modal
Table of Contents
- PATH_TEMPLATE_JAXON = 'data/jaxon'
- __construct() : mixed
- The constructor.
- getScript() : string
- Get the javascript code to be printed into the page.
- hide() : mixed
- Hide the modal dialog.
- render() : mixed
- {@inheritdoc}
- show() : mixed
- Show a modal dialog.
Constants
PATH_TEMPLATE_JAXON
public
mixed
PATH_TEMPLATE_JAXON
= 'data/jaxon'
Methods
__construct()
The constructor.
public
__construct() : mixed
Return values
mixed —getScript()
Get the javascript code to be printed into the page.
public
getScript() : string
It is a function of the Jaxon\Dialogs\Interfaces\Plugin interface.
Return values
string —hide()
Hide the modal dialog.
public
hide() : mixed
It is a function of the Jaxon\Dialogs\Interfaces\Modal interface.
Return values
mixed —render()
{@inheritdoc}
public
render(mixed $sTemplate[, array<string|int, mixed> $aVars = [] ]) : mixed
Parameters
- $sTemplate : mixed
- $aVars : array<string|int, mixed> = []
Return values
mixed —show()
Show a modal dialog.
public
show(string $title, string $content, array<string|int, mixed> $buttons[, array<string|int, mixed> $options = [] ]) : mixed
It is a function of the Jaxon\Dialogs\Interfaces\Modal interface.
Parameters
- $title : string
-
The title of the dialog
- $content : string
-
The content of the dialog
- $buttons : array<string|int, mixed>
-
The buttons of the dialog
- $options : array<string|int, mixed> = []
-
The options of the dialog