ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
A generic Slate. More...
Public Member Functions | |
getContents () | |
withMappedSubNodes (callable $f) | |
![]() | |
__construct (SignalGeneratorInterface $signal_generator, string $name, Symbol $symbol) | |
getName () | |
Get the name of this slate. More... | |
getSymbol () | |
Get the Symbol of the slate. More... | |
getToggleSignal () | |
Signal that toggles the slate when triggered. More... | |
getEngageSignal () | |
Signal that engages the slate when triggered. More... | |
withEngaged (bool $state) | |
Configures the slate to be rendered as engaged (or not). More... | |
getEngaged () | |
Should the slate be rendered as engaged? More... | |
getContents () | |
| |
getReplaceSignal () | |
Signal to replace the contents of the slate. More... | |
appendOnInView (Signal $signal) | |
A Signal that is triggered when the slate "comes into view", i.e.is being engaged. More... | |
appendOnFirstView (Signal $signal) | |
withMappedSubNodes (callable $f) | |
withMainBarTreePosition (string $tree_pos) | |
Slates in the mainbar need to be adressable via JS, a.o.for storing current activation states or triggering them from the outside. More... | |
getMainBarTreePosition () | |
getMainBarTreeDepth () | |
withAriaRole (string $aria_role) | |
Get a slate like this, but with an additional ARIA role. More... | |
getAriaRole () | |
Get the ARIA role on the slate. More... | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. 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... | |
![]() | |
withResetTriggeredSignals () | |
Get a component like this but reset any triggered signals of other components. More... | |
getTriggeredSignals () | |
Get all triggered signals of this component. More... | |
Additional Inherited Members | |
![]() | |
const | MENU = 'menu' |
![]() | |
initSignals () | |
Set the signals for this component. More... | |
![]() | |
$name | |
$symbol | |
$toggle_signal | |
$engage_signal | |
$replace_signal | |
$engaged = false | |
$mainbar_tree_position | |
$aria_role | |
![]() | |
static | $allowed_aria_roles |
A generic Slate.
Definition at line 17 of file SlateTest.php.
TestGenericSlate::getContents | ( | ) |
Implements ILIAS\UI\Component\MainControls\Slate\Slate.
Definition at line 19 of file SlateTest.php.
TestGenericSlate::withMappedSubNodes | ( | callable | $f | ) |
Definition at line 23 of file SlateTest.php.