/plugin/combo/ComboStrap/ |
H A D | FontSize.php | 33 * @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 D | GridTag.php | 496 public static function renderExitXhtml(TagAttributes $tagAttributes): string argument 498 $htmlElement = $tagAttributes->getValue(GridTag::HTML_TAG_ATT);
|
H A D | HeadingTag.php | 191 $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 D | Horizontal.php | 25 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 D | HrTag.php | 19 public static function render(TagAttributes $tagAttributes): string argument 21 return $tagAttributes->toHtmlEmptyTag("hr");
|
H A D | IFetcher.php | 93 * @param TagAttributes $tagAttributes - the attributes 96 public function buildFromTagAttributes(TagAttributes $tagAttributes): IFetcher; argument
|
H A D | IFetcherAbs.php | 97 $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 D | Icon.php | 10 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 D | IconTag.php | 19 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 D | IdentityFormsHelper.php | 237 $tagAttributes = TagAttributes::createEmpty("identity") 257 ->buildFromTagAttributes($tagAttributes)
|
H A D | ImageSystem.php | 15 public static function selectAndGetBestMetadataPageImageFetcherForRatio(MarkupPath $page, TagAttributes $tagAttributes): IFetcherLocalImage argument 22 $stringRatio = $tagAttributes->getValue(Dimension::RATIO_ATTRIBUTE);
|
H A D | JumbotronTag.php | 17 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument 30 return $tagAttributes
|
H A D | MediaMarkup.php | 150 $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 D | Message.php | 149 $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 D | NoteTag.php | 29 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 D | Opacity.php | 21 * @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 D | PageImageTag.php | 52 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 D | PanelTag.php | 36 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 D | PipelineTag.php | 49 public static function renderEnterXhtml(TagAttributes $tagAttributes): string argument 51 $pipelineWithPossibleVariableExpression = $tagAttributes->getValue(PluginUtility::PAYLOAD);
|
H A D | PluginUtility.php | 174 $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 D | QualityTag.php | 114 public static function renderXhtml(TagAttributes $tagAttributes): string argument 116 $pageId = $tagAttributes->getComponentAttributeValue("page-id");
|
H A D | SearchTag.php | 23 public static function render(TagAttributes $tagAttributes): string argument 48 $extraClass = $tagAttributes->getClass(""); 76 if (!$tagAttributes->getBooleanValue('autocomplete')) {
|
H A D | Snippet.php | 923 $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 D | TabsTag.php | 66 * @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 D | BarTag.php | 54 public static function handleEnter(TagAttributes $tagAttributes): array argument 62 $size = $tagAttributes->getValueAndRemoveIfPresent(BarTag::SIZE_ATTRIBUTE); 65 $tagAttributes->setComponentAttributeValue(Hero::ATTRIBUTE, $size);
|