Home
last modified time | relevance | path

Searched refs:tagAttributes (Results 1 – 25 of 101) sorted by path

12345

/plugin/combo/ComboStrap/
H A DBlockquoteTag.php247 public static function renderEnterXhtml(TagAttributes $tagAttributes, $data, $renderer): string argument
258 $type = $tagAttributes->getType();
262 $tagAttributes->addClassName("blockquote");
268 $tagAttributes->addClassName("mb-0");
270 return $tagAttributes->toHtmlEnterTag("blockquote");
282 $tagAttributes->addClassName("twitter-tweet");
286 if ($tagAttributes->hasComponentAttribute($tweetAttributesName)) {
287 $value = $tagAttributes->getValueAndRemove($tweetAttributesName);
288 $tagAttributes->addOutputAttributeValue("data-" . $tweetAttributesName, $value);
292 return $tagAttributes
320 renderExitXhtml(TagAttributes $tagAttributes, Doku_Renderer_xhtml $renderer, array $data) global() argument
[all...]
H A DBrandButton.php692 * @param $tagAttributes
695 public function getHtmlElement($tagAttributes): string argument
697 if ($tagAttributes->hasAttribute("href")) {
H A DBrandListTag.php12 public static function render(TagAttributes $tagAttributes): string argument
50 $type = $tagAttributes->getType();
H A DBrandTag.php25 public static function handleSpecialEnter(TagAttributes $tagAttributes, \Doku_Handler $handler): array argument
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 argument
75 $brandName = $tagAttributes->getType();
77 $brandButton = self::createButtonFromAttributes($tagAttributes);
97 $tagAttributes = self::mixBrandButtonToTagAttributes($tagAttributes, $brandButton);
103 $tagAttributes->addOutputAttributeValue("accesskey", "h");
104 $tagAttributes
226 mixBrandButtonToTagAttributes(TagAttributes $tagAttributes, BrandButton $brandButton) global() argument
[all...]
H A DBreadcrumbTag.php45 * @param TagAttributes|null $tagAttributes
48 public static function toBreadCrumbHtml(TagAttributes $tagAttributes = null): string argument
51 if ($tagAttributes === null) {
52 $tagAttributes = TagAttributes::createEmpty(self::MARKUP_BLOCK);
59 $path = \syntax_plugin_combo_iterator::getContextPathForComponentThatMayBeInFragment($tagAttributes);
62 $type = $tagAttributes->getType();
74 $tagAttributes->addOutputAttributeValue("aria-label", "Hierarchical breadcrumb");
75 $htmlOutput = $tagAttributes->toHtmlEnterTag("nav");
96 $requiredDepth = DataType::toInteger($tagAttributes->getValueAndRemoveIfPresent(self::DEPTH_ATTRIBUTE));
104 $htmlOutput = $tagAttributes
172 render(TagAttributes $tagAttributes) global() argument
196 handleEnter(TagAttributes $tagAttributes) global() argument
[all...]
H A DButtonTag.php38 * @param TagAttributes $tagAttributes
40 public static function processButtonAttributesToHtmlAttributes(TagAttributes &$tagAttributes) argument
44 $tagAttributes->addClassName($btn);
46 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY, "primary");
47 $skin = $tagAttributes->getValue(Skin::SKIN_ATTRIBUTE, Skin::FILLED_VALUE);
51 $tagAttributes->addClassName("$btn-$type");
52 $tagAttributes->addComponentAttributeValue(Shadow::CANONICAL, true);
57 $tagAttributes->addClassName("$btn-$type");
62 $tagAttributes->addClassName("$btn-outline-$type");
67 $tagAttributes
157 renderEnterXhtml(TagAttributes $tagAttributes, DokuWiki_Syntax_Plugin $plugin, array $data) global() argument
[all...]
H A DCardTag.php26 public static function handleEnter(TagAttributes $tagAttributes, \Doku_Handler $handler): array argument
30 $tagAttributes->addClassName("card");
H A DCarrouselTag.php95 public static function renderEnterXhtml(TagAttributes $tagAttributes, array $data): string argument
100 $control = $tagAttributes->getValueAndRemoveIfPresent(CarrouselTag::CONTROL_ATTRIBUTE);
102 $tagAttributes->addOutputAttributeValue("data-" . CarrouselTag::CONTROL_ATTRIBUTE, $control);
108 $elementsMin = $tagAttributes->getValueAndRemoveIfPresent(CarrouselTag::ELEMENTS_MIN_ATTRIBUTE, CarrouselTag::ELEMENTS_MIN_DEFAULT);
109 $tagAttributes->addOutputAttributeValue("data-" . CarrouselTag::ELEMENTS_MIN_ATTRIBUTE, $elementsMin);
114 $slideMinimalWidth = $tagAttributes->getValueAndRemoveIfPresent(CarrouselTag::ELEMENT_WIDTH_ATTRIBUTE);
118 $tagAttributes->addOutputAttributeValue("data-" . CarrouselTag::ELEMENT_WIDTH_ATTRIBUTE, $slideMinimalWidth);
147 return $tagAttributes->toHtmlEnterTag("div");
H A DContainerTag.php39 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument
41 $type = $tagAttributes->getType();
42 $tagAttributes->addClassName(ContainerTag::getClassName($type));
44 return $tagAttributes->toHtmlEnterTag("div");
H A DDateTag.php94 public static function renderHtml(TagAttributes $tagAttributes): string argument
99 $lang = $tagAttributes->getComponentAttributeValue(Lang::PROPERTY_NAME);
104 $format = $tagAttributes->getValue(DateTag::FORMAT_ATTRIBUTE, DateTag::DEFAULT_FORMAT);
109 $date = $tagAttributes->getComponentAttributeValue(DateTag::DATE_ATTRIBUTE, $defaultDateTime);
H A DDisplay.php14 public static function processDisplay(TagAttributes &$tagAttributes) argument
17 $display = $tagAttributes->getValueAndRemove(self::DISPLAY);
22 $tagAttributes->addStyleDeclarationIfNotSet("display", "none");
26 $id = $tagAttributes->getId();
28 $id = $tagAttributes->getDefaultGeneratedId();
29 $tagAttributes->setId($id);
H A DDropDownTag.php13 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument
20 $name = $tagAttributes->getValueAndRemoveIfPresent("name","unknown name");
21 $tagAttributes->addClassName("nav-item");
22 $tagAttributes->addClassName("dropdown");
29 $liHtml = $tagAttributes->toHtmlEnterTag("li");
H A DFetcherAppPages.php274 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
276 parent::buildFromTagAttributes($tagAttributes);
277 $this->buildOriginalPathFromTagAttributes($tagAttributes);
H A DFetcherImage.php133 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherImage argument
136 $requestedWidth = $tagAttributes->getValueAndRemove(Dimension::WIDTH_KEY);
138 $requestedWidth = $tagAttributes->getValueAndRemove(Dimension::WIDTH_KEY_SHORT);
149 $requestedHeight = $tagAttributes->getValueAndRemove(Dimension::HEIGHT_KEY);
151 $requestedHeight = $tagAttributes->getValueAndRemove(Dimension::HEIGHT_KEY_SHORT);
162 $requestedRatio = $tagAttributes->getValueAndRemove(Dimension::RATIO_ATTRIBUTE);
170 parent::buildFromTagAttributes($tagAttributes);
H A DFetcherMarkup.php737 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherMarkup argument
739 parent::buildFromTagAttributes($tagAttributes);
H A DFetcherMarkupWebcode.php66 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
70 $markup = $tagAttributes->getValueAndRemove($markupProperty);
75 $title = $tagAttributes->getValueAndRemove(self::TITLE_PROPERTY);
79 return parent::buildFromTagAttributes($tagAttributes);
H A DFetcherPage.php104 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
106 parent::buildFromTagAttributes($tagAttributes);
107 $this->buildOriginalPathFromTagAttributes($tagAttributes);
108 $layout = $tagAttributes->getValueAndRemoveIfPresent(PageTemplateName::PROPERTY_NAME);
115 $tagAttributes->getValueAndRemoveIfPresent(self::PURGE);
H A DFetcherPageBundler.php45 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherPageBundler argument
47 parent::buildFromTagAttributes($tagAttributes);
48 $this->buildOriginalPathFromTagAttributes($tagAttributes);
H A DFetcherPageSearch.php88 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
90 $searchTerms = $tagAttributes->getValueAndRemoveIfPresent("q");
94 return parent::buildFromTagAttributes($tagAttributes);
H A DFetcherRailBar.php65 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher
70 $this->buildOriginalPathFromTagAttributes($tagAttributes);
74 $viewPortWidth = $tagAttributes->getValueAndRemoveIfPresent(self::VIEWPORT_WIDTH);
85 $layout = $tagAttributes->getValueAndRemoveIfPresent(self::LAYOUT_ATTRIBUTE);
93 return parent::buildFromTagAttributes($tagAttributes);
64 buildFromTagAttributes(TagAttributes $tagAttributes) global() argument
H A DFetcherRaster.php282 * @param TagAttributes $tagAttributes
289 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherImage argument
292 parent::buildFromTagAttributes($tagAttributes);
293 $this->buildOriginalPathFromTagAttributes($tagAttributes);
H A DFetcherRawLocalPath.php60 * @param TagAttributes $tagAttributes
67 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherRawLocalPath argument
70 $this->buildOriginalPathFromTagAttributes($tagAttributes);
71 parent::buildFromTagAttributes($tagAttributes);
H A DFetcherSvg.php175 * @param TagAttributes $tagAttributes
181 public static function createFromAttributes(TagAttributes $tagAttributes): FetcherSvg argument
184 $fetcher->buildFromTagAttributes($tagAttributes);
1384 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherImage argument
1387 foreach (array_keys($tagAttributes->getComponentAttributes()) as $svgAttribute) {
1396 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1410 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1420 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1430 $value = $tagAttributes->getValue($svgAttribute);
1434 $value = $tagAttributes
[all...]
H A DFetcherTraitWikiPath.php39 * @param TagAttributes $tagAttributes
46 public function buildOriginalPathFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
50 $id = $tagAttributes->getValueAndRemove(MediaMarkup::$MEDIA_QUERY_PARAMETER);
53 $id = $tagAttributes->getValueAndRemove(FetcherRawLocalPath::SRC_QUERY_PARAMETER);
56 $id = $tagAttributes->getValueAndRemove(DokuwikiId::DOKUWIKI_ID_ATTRIBUTE);
62 $drive = $tagAttributes->getValueAndRemove(WikiPath::DRIVE_ATTRIBUTE, $defaultDrive);
63 $rev = $tagAttributes->getValueAndRemove(WikiPath::REV_ATTRIBUTE);
H A DFetcherVignette.php326 public function buildFromTagAttributes(TagAttributes $tagAttributes): FetcherVignette argument
329 $vignette = $tagAttributes->getValueAndRemove(self::MEDIA_NAME_URL_ATTRIBUTE);
349 parent::buildFromTagAttributes($tagAttributes);

12345