3 declare(strict_types=1);
26 require_once(
"libs/composer/vendor/autoload.php");
27 require_once(__DIR__ .
"/../../Base.php");
47 $mode_title =
'That\'s one small step for [a] man';
48 $uri_string =
'http://one_giant_leap?for=mankind';
49 $mode_info =
new ModeInfo($mode_title,
new URI($uri_string));
52 $html = $r->render($mode_info);
55 <div
class=
"il-mode-info">
56 <span
class=
"il-mode-info-content">$mode_title<a tabindex=
"0" class=
"glyph" href=
"$uri_string" aria-label=
"close"><span
class=
"glyphicon glyphicon-remove" aria-hidden=
"true"></span></a>
69 $mode_title =
'That\'s one small step for [a] man';
70 $uri_string =
'http://one_giant_leap?for=mankind';
72 $mode_info = $this->
getUIFactory()->mainControls()->modeInfo($mode_title,
new URI($uri_string));
74 $this->assertInstanceOf(\
ILIAS\
UI\
Component\MainControls\ModeInfo::class, $mode_info);
75 $this->assertEquals($mode_title, $mode_info->getModeTitle());
78 $mode_info->getCloseAction()->getBaseURI() .
'?' . $mode_info->getCloseAction()->getQuery()
103 return new \ILIAS\UI\Implementation\Component\MainControls\Factory(
getDefaultRenderer(JavaScriptBinding $js_binding=null, array $with_stub_renderings=[])
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
brutallyTrimHTML(string $html)
A more radical version of normalizeHTML.
Provides common functionality for UI tests.
The scope of this class is split ilias-conform URI's into components.
__construct(Container $dic, ilPlugin $plugin)