ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
getAction () | |
Get the action url of a link. More... | |
withOpenInNewViewport (bool $open_in_new_viewport) | |
Set if link should be opened in new viewport. More... | |
getOpenInNewViewport () | |
withLanguageOfReferencedContent (LanguageTag $language) | |
The hreflang attribute indicates the language of content targeted by links. More... | |
getLanguageOfReferencedResource () | |
See comment in withLanguageOfReferencedContent. More... | |
withAdditionalRelationshipToReferencedResource (Relationship $type) | |
Relationships between the current and the referenced page are added as a rel attribute. More... | |
getRelationshipsToReferencedResource () | |
withDisabled (bool $disabled=true) | |
disables the Link 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... | |
![]() | |
withContentLanguage (LanguageTag $language) | |
If the link text also is not translated (e.g., because it is a formal title that should be kept in the original language), you should add the language attributes to the anchor element. More... | |
getContentLanguage () | |
See comment in withContentLanguage. More... | |
![]() | |
withHelpTopics (Topic ... $topics) | |
Let this component have the given topics. More... | |
withAdditionalHelpTopics (Topic ... $topics) | |
Let this component also have the given topics. More... | |
getHelpTopics () | |
![]() | |
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... | |
ILIAS\UI\Component\Link\Link::getAction | ( | ) |
Get the action url of a link.
ILIAS\UI\Component\Link\Link::getLanguageOfReferencedResource | ( | ) |
See comment in withLanguageOfReferencedContent.
ILIAS\UI\Component\Link\Link::getOpenInNewViewport | ( | ) |
ILIAS\UI\Component\Link\Link::getRelationshipsToReferencedResource | ( | ) |
ILIAS\UI\Component\Link\Link::withAdditionalRelationshipToReferencedResource | ( | Relationship | $type | ) |
Relationships between the current and the referenced page are added as a rel attribute.
ILIAS\UI\Component\Link\Link::withDisabled | ( | bool | $disabled = true | ) |
disables the Link
ILIAS\UI\Component\Link\Link::withLanguageOfReferencedContent | ( | LanguageTag | $language | ) |
The hreflang attribute indicates the language of content targeted by links.
It is helpful though not required to add this information to links for which the target will not be translated in this process. If the link text also is not translated (e.g., because it is a formal title that should be kept in the original language), you should also add the language attributes to the anchor element.
ILIAS\UI\Component\Link\Link::withOpenInNewViewport | ( | bool | $open_in_new_viewport | ) |
Set if link should be opened in new viewport.