19 declare(strict_types=1);
33 abstract class Link implements C\Link\Link
84 $clone->action_content_language = $language;
96 if (!in_array($type, $clone->relationships)) {
97 $clone->relationships[] = $type;
110 !in_array(
C\
Link\Relationship::NOOPENER, $relationships)
112 $relationships[] = C\Link\Relationship::NOOPENER;
119 $clone = clone $this;
LanguageTag $action_content_language
withAdditionalRelationshipToReferencedResource(C\Link\Relationship $type)
bool $open_in_new_viewport
withOpenInNewViewport(bool $open_in_new_viewport)
getRelationshipsToReferencedResource()
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getLanguageOfReferencedResource()
withLanguageOfReferencedContent(LanguageTag $language)
This class represents a valid language tag that should be used instead of plain strings.
__construct(string $action)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...
withDisabled(bool $disabled=true)