ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Interface Scale Bars. More...
Public Member Functions | |
withItems (array $items) | |
Sets a key value pair as items for the list. More... | |
getItems () | |
Gets the key value pair as array. 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... | |
Interface Scale Bars.
Definition at line 28 of file ScaleBar.php.
ILIAS\UI\Component\Chart\ScaleBar::getItems | ( | ) |
Gets the key value pair as array.
Key is used as title and value is a boolean marking highlighted values.
ILIAS\UI\Component\Chart\ScaleBar::withItems | ( | array | $items | ) |
Sets a key value pair as items for the list.
Key is used as title and value is a boolean marking highlighted values.
array | string => boolean Set of elements to be rendered, boolean should be true if highlighted |