ILIAS
trunk Revision v11.0_alpha-1871-gde1fee8db3d
|
Functions | |
base_metabar () | |
expected output: > ILIAS shows a link "See UI in fullscreen-mode". More... | |
buildMetabar (\ILIAS\UI\Factory $f) | |
if($request_wrapper->has('new_metabar_ui') && $request_wrapper->retrieve('new_metabar_ui', $refinery->kindlyTo() ->int())===1) | renderMetaBarInFullscreenMode (Container $dic) |
pageMetabarDemoContent (\ILIAS\UI\Factory $f) | |
pageMetabarDemoCrumbs (\ILIAS\UI\Factory $f) | |
pageMetabarDemoMainbar (\ILIAS\UI\Factory $f) | |
pageMetabarDemoFooter (\ILIAS\UI\Factory $f) | |
extended_example_for_developers () | |
description: > This is a rather extended example on the usage of the Notification Item async functionality provided by src/UI/templates/js/Item/notification.js. More... | |
usuallyDoneByGlobalScreenProbablyIgnore ($async_item, $f, $renderer, $add_button, $set_button, $reset_button) | |
buildMetabarWithNotifications ($f, $notification_center) | |
Variables | |
global | $DIC |
$request_wrapper = $DIC->http()->wrapper()->query() | |
$refinery = $DIC->refinery() | |
ILIAS\UI\examples\MainControls\MetaBar\base_metabar | ( | ) |
expected output: > ILIAS shows a link "See UI in fullscreen-mode".
On clicking the link, a new page opens. The page has no entries in the mainbar and very(!) little content, but shows four icons in the metabar: search, help, notes and user. Only the notes-glyph is operable, it shows a little overlay with "some content"
Definition at line 36 of file base_metabar.php.
References ILIAS\UI\examples\MainControls\MetaBar\$DIC, Vendor\Package\$f, $renderer, $txt, and $url.
ILIAS\UI\examples\MainControls\MetaBar\buildMetabar | ( | \ILIAS\UI\Factory | $f | ) |
Definition at line 57 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode().
ILIAS\UI\examples\MainControls\MetaBar\buildMetabarWithNotifications | ( | $f, | |
$notification_center | |||
) |
Definition at line 218 of file extended_example_for_developers.php.
References Vendor\Package\$f.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\usuallyDoneByGlobalScreenProbablyIgnore().
ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers | ( | ) |
description: > This is a rather extended example on the usage of the Notification Item async functionality provided by src/UI/templates/js/Item/notification.js.
See notification.js for a detailed description of the function. Note that we use some il.DemoScope to store some JS for Demo purposes, it contains the following three items:
The functions of the public interface of interest featured here are:
Of further Interest could be (not featured here):
expected output: >
Important, this is the heart of the example. By creating our Notification Item we attach in additionalOnLoad code the logic to store access to our freshly created Notification Item.
Note the work from here on is usually done by the global screen. This is just done to get the example up and running and to give it a more realistic look. See ilias/components/ILIAS/GlobalScreen/Scope/Notification/README.md
Definition at line 55 of file extended_example_for_developers.php.
References $_SERVER, ILIAS\UI\examples\MainControls\MetaBar\$DIC, Vendor\Package\$f, $id, ILIAS\UI\examples\MainControls\MetaBar\$refinery, $renderer, ILIAS\UI\examples\MainControls\MetaBar\$request_wrapper, exit, and ILIAS\UI\examples\MainControls\MetaBar\usuallyDoneByGlobalScreenProbablyIgnore().
ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoContent | ( | \ILIAS\UI\Factory | $f | ) |
Definition at line 120 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode().
ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoCrumbs | ( | \ILIAS\UI\Factory | $f | ) |
Definition at line 132 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode().
ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoFooter | ( | \ILIAS\UI\Factory | $f | ) |
Definition at line 142 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode().
ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoMainbar | ( | \ILIAS\UI\Factory | $f | ) |
Definition at line 137 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode().
if ( $request_wrapper->has( 'new_metabar_ui') &&$request_wrapper->retrieve( 'new_metabar_ui', $refinery->kindlyTo() ->int())===1) ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode | ( | Container | $dic | ) |
Definition at line 87 of file base_metabar.php.
References Vendor\Package\$f, $renderer, ILIAS\UI\examples\MainControls\MetaBar\buildMetabar(), ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoContent(), ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoCrumbs(), ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoFooter(), ILIAS\UI\examples\MainControls\MetaBar\pageMetabarDemoMainbar(), and ILIAS\DI\Container\ui().
ILIAS\UI\examples\MainControls\MetaBar\usuallyDoneByGlobalScreenProbablyIgnore | ( | $async_item, | |
$f, | |||
$renderer, | |||
$add_button, | |||
$set_button, | |||
$reset_button | |||
) |
Definition at line 190 of file extended_example_for_developers.php.
References Vendor\Package\$f, $renderer, and ILIAS\UI\examples\MainControls\MetaBar\buildMetabarWithNotifications().
Referenced by ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers().
global ILIAS::UI::examples::MainControls::MetaBar\$DIC |
Definition at line 76 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\base_metabar(), and ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers().
ILIAS::UI::examples::MainControls::MetaBar\$refinery = $DIC->refinery() |
Definition at line 78 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers().
ILIAS::UI::examples::MainControls::MetaBar\$request_wrapper = $DIC->http()->wrapper()->query() |
Definition at line 77 of file base_metabar.php.
Referenced by ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers().