ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($button_factory) | |
button () | |
description: purpose: > Buttons trigger interactions that change the system’s or view's status. More... | |
Public Member Functions inherited from NoUIFactory | |
counter () | |
description: purpose: > Counter inform users about the quantity of items indicated by a glyph. More... | |
glyph () | |
description: purpose: > Glyphs map a generally known concept or symbol to a specific concept in ILIAS. More... | |
button () | |
description: purpose: > Buttons trigger interactions that change the system’s or view's status. More... | |
card () | |
description: purpose: > A card is a flexible content container for small chunks of structured data. More... | |
deck (array $cards) | |
description: purpose: > Decks are used to display multiple Cards in a grid. More... | |
listing () | |
description: purpose: > Listings are used to structure itemised textual information. More... | |
image () | |
description: purpose: The Image component is used to display images of various sources. More... | |
legacy ($content) | |
description: purpose: > This component is used to wrap an existing ILIAS UI element into a UI component. More... | |
panel () | |
description: purpose: > Panels are used to group titled content. More... | |
modal () | |
description: purpose: The Modal forces users to focus on the task at hand. More... | |
dropzone () | |
description: purpose: > Dropzones are containers used to drop either files or other HTML elements. More... | |
popover () | |
description: purpose: > Popovers can be used when space is scarce i.e. More... | |
divider () | |
description: purpose: > A divider marks a thematic change in a sequence of other components. More... | |
link () | |
description: purpose: > Links are used navigate to other resources or views of the system. More... | |
dropdown () | |
description: purpose: > Dropdowns reveal a list of interactions that change the system’s status or navigate to a different view. More... | |
item () | |
description: purpose: > An item displays a unique entity within the system. More... | |
icon () | |
description: purpose: > Icons are quickly comprehensible and recognizable graphics. More... | |
viewControl () | |
description: purpose: > View Controls switch between different visualisation of data. More... | |
breadcrumbs (array $crumbs) | |
description: purpose: > Breadcrumbs is a supplemental navigation scheme. More... | |
chart () | |
description: purpose: > Charts are used to graphically represent data in various forms such as maps, graphs or diagrams. More... | |
input () | |
description: purpose: > In opposite to components with a purely receptive or at most navigational character, input elements are used to relay user-induced data to the system. More... | |
table () | |
description: purpose: > Tables present a set of uniformly structured data. More... | |
messageBox () | |
description: purpose: > Message Boxes inform the user about the state of the system or an ongoing user task. More... | |
Protected Attributes | |
$button_factory | |
Definition at line 14 of file StandardFormTest.php.
WithButtonNoUIFactory::__construct | ( | $button_factory | ) |
WithButtonNoUIFactory::button | ( | ) |
description: purpose: > Buttons trigger interactions that change the system’s or view's status.
Acceptable changes to the current view are those that do not result in a complete replacement of the overall screen (e.g. modals). composition: > Button is a clickable, graphically obtrusive control element. It can bear text. effect: > On-click, the action indicated by the button is carried out. rivals: glyph: > Glyphs are used if the enclosing Container Collection can not provide enough space for textual information or if such an information would clutter the screen. links: > Links are used to trigger Interactions that do not change the systems status. They are usually contained inside a Navigational Collection.
background: > Wording rules have been inspired by the iOS Human Interface Guidelines (UI-Elements->Controls->System Button)
Style rules have been inspired from the GNOME Human Interface Guidelines->Buttons.
rules: usage: 1: > Buttons MUST NOT be used inside a Textual Paragraph. interaction: 2: > If an action is temporarily not available, Buttons MUST be disabled by setting as type 'disabled'. 3: > A button MUST NOT be used for navigational purpose. style: 1: > If Text is used inside a Button, the Button MUST be at least six characters wide. wording: 1: > The caption of a Button SHOULD contain no more than two words. 2: > The wording of the button SHOULD describe the action the button performs by using a verb or a verb phrase. 3: > Every word except articles, coordinating conjunctions and prepositions of four or fewer letters MUST be capitalized. 4: > For standard events such as saving or canceling the existing standard terms MUST be used if possible: Save, Cancel, Delete, Cut, Copy. 5: > There are cases where a non-standard label such as “Send Mail” for saving and sending the input of a specific form might deviate from the standard. These cases MUST however specifically justified. accessibility: 1: > DOM elements of type "button" MUST be used to properly identify an element as a Button if there is no good reason to do otherwise. 2: > Button DOM elements MUST either be of type "button", of type "a" accompanied with the aria-role “Button” or input along with the type
Implements ILIAS\UI\Factory.
Definition at line 25 of file StandardFormTest.php.
References $button_factory.
|
protected |
Definition at line 16 of file StandardFormTest.php.
Referenced by __construct(), and button().