Home
last modified time | relevance | path

Searched refs:tagAttributes (Results 26 – 50 of 101) sorted by path

12345

/plugin/combo/ComboStrap/
H A DFontSize.php33 * @param TagAttributes $tagAttributes
35 public static function processFontSizeAttribute(TagAttributes &$tagAttributes) argument
38 if ($tagAttributes->hasComponentAttribute(self::FONT_SIZE)) {
39 $value = $tagAttributes->getValueAndRemove(self::FONT_SIZE);
43 $tagAttributes->addClassName("fs-$headingValue");
51 $tagAttributes->addClassName("fs-$headingValue");
53 $tagAttributes->addStyleDeclarationIfNotSet("font-size", $value);
H A DGridTag.php496 public static function renderExitXhtml(TagAttributes $tagAttributes): string argument
498 $htmlElement = $tagAttributes->getValue(GridTag::HTML_TAG_ATT);
H A DHeadingTag.php191 $tagAttributes = TagAttributes::createFromCallStackArray($callStackArray);
192 $text = $tagAttributes->getValue(HeadingTag::HEADING_TEXT_ATTRIBUTE);
196 $level = $tagAttributes->getValue(HeadingTag::LEVEL);
201 $parsedLabel = $tagAttributes->getValue(self::PARSED_LABEL);
224 $tagAttributes = TagAttributes::createFromCallStackArray($callStackArray);
225 $text = $tagAttributes->getValue(HeadingTag::HEADING_TEXT_ATTRIBUTE);
226 $level = $tagAttributes->getValue(HeadingTag::LEVEL);
234 * @param TagAttributes $tagAttributes
239 public static function processRenderEnterXhtml(string $context, TagAttributes $tagAttributes, Doku_Renderer_xhtml &$renderer, ?int $pos) argument
251 $type = $tagAttributes
391 renderClosingTag(TagAttributes $tagAttributes, string $context) global() argument
470 handleEnter(\\Doku_Handler $handler, TagAttributes $tagAttributes, string $markupTag) global() argument
[all...]
H A DHorizontal.php25 public static function processHorizontal(TagAttributes &$tagAttributes) argument
28 self::processFlexAttribute(self::HORIZONTAL_ATTRIBUTE, $tagAttributes);
32 static function processFlexAttribute(string $attributeName, $tagAttributes) argument
35 $value = $tagAttributes->getValueAndRemove($attributeName);
40 $logicalTag = $tagAttributes->getLogicalTag();
72 $tagAttributes->addClassName($class);
77 $tagAttributes->addClassName(\syntax_plugin_combo_cell::FLEX_CLASS);
H A DHrTag.php19 public static function render(TagAttributes $tagAttributes): string argument
21 return $tagAttributes->toHtmlEmptyTag("hr");
H A DIFetcher.php93 * @param TagAttributes $tagAttributes - the attributes
96 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher; argument
H A DIFetcherAbs.php97 $tagAttributes = TagAttributes::createFromCallStackArray($query);
98 $this->buildFromTagAttributes($tagAttributes);
110 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher argument
113 $cache = $tagAttributes->getValueAndRemove(self::CACHE_KEY);
H A DIcon.php10 private TagAttributes $tagAttributes; variable in ComboStrap\\Icon
39 public static function createFromTagAttributes(TagAttributes $tagAttributes): Icon argument
45 $tagAttributes->addComponentAttributeValue(TagAttributes::TYPE_KEY, FetcherSvg::ICON_TYPE);
50 $name = $tagAttributes->getValue(FetcherSvg::NAME_ATTRIBUTE);
73 $tagAttributes->addComponentAttributeValue(MediaMarkup::$MEDIA_QUERY_PARAMETER, $mediaDokuPath->getWikiId());
74 $tagAttributes->setComponentAttributeValue(FetcherSvg::NAME_ATTRIBUTE, $mediaDokuPath->getLastNameWithoutExtension());
85 $fetcherSvg = FetcherSvg::createFromAttributes($tagAttributes);
89 ->setTagAttributes($tagAttributes);
94 public static function createFromComboResource(string $name, TagAttributes $tagAttributes = null): Icon argument
100 if ($tagAttributes !
112 setTagAttributes(TagAttributes $tagAttributes) global() argument
[all...]
H A DIconTag.php19 public static function handleSpecial(TagAttributes $tagAttributes, Doku_Handler $handler): array argument
37 $requestedColor = $tagAttributes->getValue(ColorRgb::COLOR);
48 $requestedWidth = $tagAttributes->getValue(Dimension::WIDTH_KEY, FetcherSvg::DEFAULT_ICON_LENGTH);
63 $tagAttributes->setComponentAttributeValue(ColorRgb::COLOR, $color);
79 * @param TagAttributes $tagAttributes
82 public static function renderEmptyTag(TagAttributes $tagAttributes): string argument
86 return Icon::createFromTagAttributes($tagAttributes)
90 return IconTag::exceptionHandling($e, $tagAttributes);
114 public static function handleEnter(TagAttributes $tagAttributes, Doku_Handler $handler): array argument
116 return self::handleSpecial($tagAttributes,
129 renderEnterTag(TagAttributes $tagAttributes) global() argument
[all...]
H A DIdentityFormsHelper.php237 $tagAttributes = TagAttributes::createEmpty("identity")
257 ->buildFromTagAttributes($tagAttributes)
H A DImageSystem.php15 public static function selectAndGetBestMetadataPageImageFetcherForRatio(MarkupPath $page, TagAttributes $tagAttributes): IFetcherLocalImage argument
22 $stringRatio = $tagAttributes->getValue(Dimension::RATIO_ATTRIBUTE);
H A DJumbotronTag.php17 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument
30 return $tagAttributes
H A DMediaMarkup.php150 $tagAttributes = TagAttributes::createFromCallStackArray($callStackArray);
151 $ref = $tagAttributes->getValueAndRemoveIfPresent(MarkupRef::REF_ATTRIBUTE);
153 $ref = $tagAttributes->getValueAndRemoveIfPresent(MediaMarkup::DOKUWIKI_SRC);
159 ->buildFromTagAttributes($tagAttributes);
391 $tagAttributes = $data[PluginUtility::ATTRIBUTES];
392 if ($tagAttributes === null) {
396 syntax_plugin_combo_media::registerImageMeta($tagAttributes, $renderer);
410 $tagAttributes = $data[PluginUtility::ATTRIBUTES];
411 syntax_plugin_combo_media::updateStatistics($tagAttributes, $renderer);
715 * @param TagAttributes $tagAttributes
718 buildFromTagAttributes(TagAttributes $tagAttributes) global() argument
[all...]
H A DMessage.php149 $tagAttributes = TagAttributes::createEmpty("message")
153 $tagAttributes->addClassName($this->class);
158 $tagAttributes->addClassName("alert-success");
160 $tagAttributes->addClassName("alert-warning");
163 $message = $tagAttributes->toHtmlEnterTag("div");
H A DNoteTag.php29 public static function renderEnterInlineNote(TagAttributes $tagAttributes): string argument
31 $tagAttributes->addClassName("badge");
35 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY);
53 $tagAttributes->addClassName("alert-" . $type);
55 $tagAttributes->addClassName("badge-" . $type);
58 if (!$tagAttributes->hasComponentAttribute("background-color")) {
59 $tagAttributes->addStyleDeclarationIfNotSet("background-color", "#fff79f"); // lum - 195
60 $tagAttributes->addClassName("text-dark");
63 $rounded = $tagAttributes->getValueAndRemove(NoteTag::ATTRIBUTE_ROUNDED);
65 $tagAttributes
[all...]
H A DOpacity.php21 * @param TagAttributes $tagAttributes
23 public static function processOpacityAttribute(TagAttributes &$tagAttributes){ argument
25 if ($tagAttributes->hasComponentAttribute(self::OPACITY_ATTRIBUTE)) {
26 $value = $tagAttributes->getValueAndRemove(self::OPACITY_ATTRIBUTE);
27 $tagAttributes->addStyleDeclarationIfNotSet("opacity",$value);
H A DPageImageTag.php52 public static function handle($tagAttributes, $handler): array argument
66 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(),
71 public static function render(TagAttributes $tagAttributes, array $data) argument
78 $path = syntax_plugin_combo_iterator::getContextPathForComponentThatMayBeInFragment($tagAttributes);
86 $zoom = $tagAttributes->getValueAndRemoveIfPresent(Dimension::ZOOM_ATTRIBUTE, self::DEFAULT_ZOOM);
91 $order = self::getOrderOfPreference($tagAttributes);
128 $width = $tagAttributes->getValueAndRemoveIfPresent(Dimension::WIDTH_KEY);
129 $height = $tagAttributes->getValueAndRemoveIfPresent(Dimension::HEIGHT_KEY);
130 $ratio = $tagAttributes->getValueAndRemoveIfPresent(Dimension::RATIO_ATTRIBUTE);
200 $tagAttributes
293 getOrderOfPreference(TagAttributes $tagAttributes) global() argument
[all...]
H A DPanelTag.php36 public static function getSelectedValue(TagAttributes $tagAttributes) argument
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 argument
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, arra argument
[all...]
H A DPipelineTag.php49 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument
51 $pipelineWithPossibleVariableExpression = $tagAttributes->getValue(PluginUtility::PAYLOAD);
H A DPluginUtility.php174 $tagAttributes = TagAttributes::createFromCallStackArray($attributes);
175 return $tagAttributes->toHTMLAttributeString();
711 * @param TagAttributes $tagAttributes
714 static function checkDefaultBorderColorAttributes(&$tagAttributes) argument
721 $tagAttributes->hasStyleDeclaration("border")
723 $tagAttributes->hasStyleDeclaration("border-width")
726 $tagAttributes->addStyleDeclarationIfNotSet("border-width", "1px");
734 $tagAttributes->hasStyleDeclaration("border")
736 $tagAttributes->hasStyleDeclaration("border-style")
739 $tagAttributes
[all...]
H A DQualityTag.php114 public static function renderXhtml(TagAttributes $tagAttributes): string argument
116 $pageId = $tagAttributes->getComponentAttributeValue("page-id");
H A DSearchTag.php23 public static function render(TagAttributes $tagAttributes): string argument
48 $extraClass = $tagAttributes->getClass("");
76 if (!$tagAttributes->getBooleanValue('autocomplete')) {
H A DSnippet.php923 $tagAttributes = $this->toTagAttributes();
924 $array = $tagAttributes->toCallStackArray();
989 $tagAttributes = TagAttributes::createFromCallStackArray($this->getHtmlAttributes())
998 $tagAttributes->setInnerText($this->getInnerHtml());
999 return $tagAttributes;
1015 $tagAttributes
1020 $tagAttributes->addOutputAttributeValue("integrity", $integrity);
1026 $tagAttributes->addBooleanOutputAttributeValue("defer");
1030 return $tagAttributes;
1039 $tagAttributes
[all...]
H A DTabsTag.php66 * @param $tagAttributes
69 public static function openNavigationalTabsElement(TagAttributes $tagAttributes): string
75 $tagAttributes->removeComponentAttributeIfPresent(self::KEY_PANEL_ATTRIBUTES);
80 $type = self::getComponentType($tagAttributes);
106 if (!$tagAttributes->hasAttribute(Spacing::SPACING_ATTRIBUTE)) {
107 $tagAttributes->addComponentAttributeValue(Spacing::SPACING_ATTRIBUTE, "mb-3");
109 $tagAttributes->addClassName("nav")
111 $tagAttributes->addOutputAttributeValue('role', 'tablist');
112 $html = $tagAttributes->toHtmlEnterTag("ul");
119 $tagAttributes
67 openNavigationalTabsElement(TagAttributes $tagAttributes) global() argument
198 openTabPanelsElement(TagAttributes $tagAttributes) global() argument
223 getComponentType(TagAttributes $tagAttributes) global() argument
238 closeTabPanelsElement(TagAttributes $tagAttributes) global() argument
368 renderEnterXhtml(TagAttributes $tagAttributes, array $data) global() argument
393 renderExitXhtml(TagAttributes $tagAttributes, array $data) global() argument
[all...]
/plugin/combo/ComboStrap/Tag/
H A DBarTag.php54 public static function handleEnter(TagAttributes $tagAttributes): array argument
62 $size = $tagAttributes->getValueAndRemoveIfPresent(BarTag::SIZE_ATTRIBUTE);
65 $tagAttributes->setComponentAttributeValue(Hero::ATTRIBUTE, $size);

12345