ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
This describes the MainBar. More...
Public Member Functions | |
withAdditionalEntry (string $id, $entry) | |
Append an entry. More... | |
getEntries () | |
withAdditionalToolEntry (string $id, Slate\Slate $entry, bool $initially_hidden=false, ?Button\Close $close_button=null) | |
Append a tool-entry. More... | |
getToolEntries () | |
withActive (string $active) | |
getActive () | |
withToolsButton (Button\Bulky $button) | |
Set button for the tools-trigger. More... | |
getToolsButton () | |
Returns the button of the tools-trigger. More... | |
getEntryClickSignal () | |
Get the signal that is triggered when any entry in the bar is clicked. More... | |
getToolsClickSignal () | |
Get the signal that is triggered when any entry in the tools-button is clicked. More... | |
getToolsRemovalSignal () | |
Get the signal that is used for removing a tool. More... | |
getDisengageAllSignal () | |
This signal disengages all slates when triggered. More... | |
getInitiallyHiddenToolIds () | |
There are tools that are rendered invisible before first activation. More... | |
getEngageToolSignal (string $tool_id) | |
Signal to engage a tool from outside the MainBar. More... | |
getCloseButtons () | |
Buttons to close tools; maybe configure with callback. More... | |
withClearedEntries () | |
Get a copy of this MainBar without any entries. More... | |
getToggleToolsSignal () | |
Signal to toggle the tools-section. More... | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
reduceWith (\Closure $fn) | |
The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
![]() | |
withOnLoadCode (Closure $binder) | |
withAdditionalOnLoadCode (Closure $binder) | |
Add some onload-code to the component instead of replacing the existing one. More... | |
getOnLoadCode () | |
Get the currently bound on load code. More... | |
This describes the MainBar.
Definition at line 33 of file MainBar.php.
ILIAS\UI\Component\MainControls\MainBar::getActive | ( | ) |
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\bindMainbarJS().
ILIAS\UI\Component\MainControls\MainBar::getCloseButtons | ( | ) |
Buttons to close tools; maybe configure with callback.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\renderToolEntry().
ILIAS\UI\Component\MainControls\MainBar::getDisengageAllSignal | ( | ) |
This signal disengages all slates when triggered.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\bindMainbarJS(), and ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::getEngageToolSignal | ( | string | $tool_id | ) |
Signal to engage a tool from outside the MainBar.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\bindMainbarJS(), and ILIAS\UI\examples\Layout\Page\Standard\pagedemoContent().
ILIAS\UI\Component\MainControls\MainBar::getEntries | ( | ) |
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::getEntryClickSignal | ( | ) |
Get the signal that is triggered when any entry in the bar is clicked.
ILIAS\UI\Component\MainControls\MainBar::getInitiallyHiddenToolIds | ( | ) |
There are tools that are rendered invisible before first activation.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\renderToolEntry().
ILIAS\UI\Component\MainControls\MainBar::getToggleToolsSignal | ( | ) |
Signal to toggle the tools-section.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\bindMainbarJS(), and ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::getToolEntries | ( | ) |
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\bindMainbarJS(), ilLSViewLayoutProvider\getMainBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification(), ILIAS\UI\examples\Layout\Page\Standard\pagedemoContent(), and ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::getToolsButton | ( | ) |
Returns the button of the tools-trigger.
Referenced by ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::getToolsClickSignal | ( | ) |
Get the signal that is triggered when any entry in the tools-button is clicked.
ILIAS\UI\Component\MainControls\MainBar::getToolsRemovalSignal | ( | ) |
Get the signal that is used for removing a tool.
ILIAS\UI\Component\MainControls\MainBar::withActive | ( | string | $active | ) |
Referenced by DashboardLayoutProvider\getMainBarModification().
ILIAS\UI\Component\MainControls\MainBar::withAdditionalEntry | ( | string | $id, |
$entry | |||
) |
Append an entry.
Button\Bulky | Link\Bulky | Slate\Slate | $entry |
Referenced by ilLSViewLayoutProvider\getMainBarModification(), ILIAS\UI\examples\Layout\Page\Standard\getUIMainbar(), and ILIAS\UI\Implementation\Component\MainControls\Renderer\renderMainbarEntry().
ILIAS\UI\Component\MainControls\MainBar::withAdditionalToolEntry | ( | string | $id, |
Slate\Slate | $entry, | ||
bool | $initially_hidden = false , |
||
?Button\Close | $close_button = null |
||
) |
Append a tool-entry.
Define a tools-trigger via "withToolsButton" first.
Referenced by ilLSViewLayoutProvider\getMainBarModification(), and ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification().
ILIAS\UI\Component\MainControls\MainBar::withClearedEntries | ( | ) |
Get a copy of this MainBar without any entries.
Referenced by ilLSViewLayoutProvider\getMainBarModification(), ilTestPlayerLayoutProvider\getMainBarModification(), and ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification().
ILIAS\UI\Component\MainControls\MainBar::withToolsButton | ( | Button\Bulky | $button | ) |
Set button for the tools-trigger.
Referenced by ilTestPlayerLayoutProvider\getMainBarModification(), and ILIAS\UI\examples\Layout\Page\Standard\pagedemoMainbar().