ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Functions | |
base () | |
description: > This example wraps a Message Box into a Prompt (State). More... | |
form () | |
description: > This shows a Form being used in a Prompt. More... | |
parameters () | |
description: > This shows how different states are being used in the same Prompt according to parameters, thus creating an 'internally navigational' Prompt. More... | |
ILIAS\UI\examples\Prompt\Standard\base | ( | ) |
description: > This example wraps a Message Box into a Prompt (State).
expected output: > A Message Box is rendered along with a Button triggering the Prompt. The action of the Message Box is without function. When clicking "Show Simple Prompt", a Prompt is shown, making controls on the original page inaccessible. The action of the Message Box is removed from the content and shown in
Definition at line 40 of file base.php.
References $DIC, $message, ILIAS\UI\examples\Layout\Page\Standard\$refinery, $renderer, $response, $token, and exit.
ILIAS\UI\examples\Prompt\Standard\form | ( | ) |
description: > This shows a Form being used in a Prompt.
expected output: > Initially, there is but a button to open the Prompt. Clicking the button, a Prompt is shown with a required Text Input. Leave it blank and click 'Save', the Form's error messages should be shown. Enter any string and click 'Save' again; the error disappears, but the Prompt and Form are still shown.
alternatively: $response = $response->withCloseModal(true);
Definition at line 39 of file form.php.
References $data, $DIC, ILIAS\UI\examples\Layout\Page\Standard\$refinery, $renderer, $response, exit, and null.
ILIAS\UI\examples\Prompt\Standard\parameters | ( | ) |
description: > This shows how different states are being used in the same Prompt according to parameters, thus creating an 'internally navigational' Prompt.
the additional buttons demonstrate the usage of JS within Prompts.
expected output: > Initially, there are three buttons to open the Prompt. The Prompt will display several links. Clicking a Link will display the
Definition at line 39 of file parameters.php.
References $DIC, $id, ILIAS\UI\examples\Layout\Page\Standard\$refinery, $renderer, $response, exit, ilSession\get(), and ilSession\set().
Referenced by ilStyleClassAddedObjective\__construct(), ilWebLinkBaseItem\__construct(), ilMediaItem\__construct(), ilStyleClassAddedObjective\achieve(), ilWebLinkDraftItem\addParameter(), ilSessionAppEventListener\fetchRecipientParticipants(), ILIAS\MetaData\Editor\Http\LinkBuilder\get(), ILIAS\LTIOAuth\OAuthSignatureMethod_HMAC_SHA1\get_name(), ilMediaItem\getParameter(), ilMediaItem\getParameterString(), ilMailAppEventListener\handle(), ilSessionAppEventListener\handle(), ilCertificateAppEventListener\handleDeletedUser(), ilCertificateAppEventListener\handleLPUpdate(), ilMediaItem\resetParameters(), ilSessionAppEventListener\sendMail(), ilMediaItem\setParameter(), ilSCORMItem\setParameters(), ilWACPath\setParameters(), ilWACPath\setTimestamp(), ilWACPath\setToken(), and ilWACPath\setTTL().