Lines Matching defs:tagAttributes
25 public static function handleSpecialEnter(TagAttributes $tagAttributes, \Doku_Handler $handler): array
55 $value = $tagAttributes->getComponentAttributeValue(self::WIDGET_ATTRIBUTE);
62 $tagAttributes->addComponentAttributeValue(self::WIDGET_ATTRIBUTE, $defaultWidget);
69 public static function render(TagAttributes $tagAttributes, int $state, array $data): string
75 $brandName = $tagAttributes->getType();
77 $brandButton = self::createButtonFromAttributes($tagAttributes);
97 $tagAttributes = self::mixBrandButtonToTagAttributes($tagAttributes, $brandButton);
103 $tagAttributes->addOutputAttributeValue("accesskey", "h");
104 $tagAttributes->addClassName("navbar-brand");
107 $tagAttributes->removeComponentAttributeIfPresent(Dimension::WIDTH_KEY);
109 $tagAttributes->removeComponentAttributeIfPresent(self::WIDGET_ATTRIBUTE);
110 $enterAnchor = $tagAttributes
226 public static function mixBrandButtonToTagAttributes(TagAttributes $tagAttributes, BrandButton $brandButton): TagAttributes
233 $url = $tagAttributes->getValueAndRemoveIfPresent($urlAttribute);
252 $tagAttributes->addOutputAttributeValue("href", $url);
254 $tagAttributes->mergeWithCallStackArray($brandButton->getHtmlAttributes()->toCallStackArray());
255 return $tagAttributes;