Lines Matching defs:tagAttributes
36 public static function getSelectedValue(TagAttributes $tagAttributes)
38 $selected = $tagAttributes->getValueAndRemoveIfPresent(PanelTag::SELECTED);
46 if ($tagAttributes->hasComponentAttribute(TagAttributes::TYPE_KEY)) {
47 $type = $tagAttributes->getType();
57 public static function handleEnter(TagAttributes $tagAttributes, Doku_Handler $handler, string $markupTag): array
81 $id = $tagAttributes->getId();
84 $tagAttributes->setId($id);
97 $tagAttributes->setComponentAttributeValue(PanelTag::SELECTED, false);
106 $tagAttributes->setComponentAttributeValue(PanelTag::SELECTED, true);
183 public static function renderEnterXhtml(TagAttributes $tagAttributes, array $data): string
204 $ariaLabelledValue = $tagAttributes->getId() . "-tab";
209 $tagAttributes
213 $selected = PanelTag::getSelectedValue($tagAttributes);
215 $tagAttributes->addClassName("show active");
217 return $tagAttributes->toHtmlEnterTag("div");