/plugin/combo/ComboStrap/ |
H A D | TagAttributes.php | 45 * * output the final HTML attributes at the end of the process with the function {@link TagAttributes::toHTMLAttributeString()} 51 class TagAttributes class 75 TagAttributes::TYPE_KEY, // type is the component class 132 * permit to not close the tag in {@link TagAttributes::toHtmlEnterTag()} 141 * it will not be added to the output (ie {@link TagAttributes::toHtmlEnterTag()}) 180 TagAttributes::CLASS_KEY, 182 TagAttributes::ID_KEY, 183 TagAttributes::TITLE_KEY, 193 * TODO: This is because the request object and the response object are the same. We should add the request attribute in the {@link \TagAttributes} 196 TagAttributes [all...] |
H A D | Icon.php | 10 private TagAttributes $tagAttributes; 15 * @param TagAttributes|null $iconAttributes 23 public static function createFromName(string $name, TagAttributes $iconAttributes = null): Icon 26 $iconAttributes = TagAttributes::createEmpty(self::ICON_CANONICAL_NAME); 39 public static function createFromTagAttributes(TagAttributes $tagAttributes): Icon 45 $tagAttributes->addComponentAttributeValue(TagAttributes::TYPE_KEY, FetcherSvg::ICON_TYPE); 94 public static function createFromComboResource(string $name, TagAttributes $tagAttributes = null): Icon 112 private function setTagAttributes(TagAttributes $tagAttributes): Icon
|
H A D | PanelTag.php | 27 TagAttributes::ID_KEY => "alone", 28 TagAttributes::TYPE_KEY => TabsTag::ENCLOSED_TABS_TYPE 36 public static function getSelectedValue(TagAttributes $tagAttributes) 46 if ($tagAttributes->hasComponentAttribute(TagAttributes::TYPE_KEY)) { 57 public static function handleEnter(TagAttributes $tagAttributes, Doku_Handler $handler, string $markupTag): array 119 TagAttributes::ID_KEY => $id 164 $id = $openingTag->getAttribute(TagAttributes::ID_KEY); 183 public static function renderEnterXhtml(TagAttributes $tagAttributes, array $data): string 220 $aloneAttributes = TagAttributes::createFromCallStackArray(PanelTag::CONTEXT_PREVIEW_ALONE_ATTRIBUTES); 238 $aloneVariable = TagAttributes [all...] |
H A D | BreadcrumbTag.php | 45 * @param TagAttributes|null $tagAttributes 48 public static function toBreadCrumbHtml(TagAttributes $tagAttributes = null): string 52 $tagAttributes = TagAttributes::createEmpty(self::MARKUP_BLOCK); 169 * @param TagAttributes $tagAttributes 172 public static function render(TagAttributes $tagAttributes): string 193 return [TagAttributes::TYPE_KEY => BreadcrumbTag::NAVIGATION_TYPE]; 196 public static function handleEnter(TagAttributes $tagAttributes): array
|
H A D | TabsTag.php | 69 public static function openNavigationalTabsElement(TagAttributes $tagAttributes): string 125 $html .= TagAttributes::createEmpty() 144 $liTagAttributes = TagAttributes::createFromCallStackArray($attributes); 174 $htmlAttributes = TagAttributes::createEmpty(); 197 * @param TagAttributes $tagAttributes 200 public static function openTabPanelsElement(TagAttributes $tagAttributes): string 225 public static function getComponentType(TagAttributes $tagAttributes) 240 public static function closeTabPanelsElement(TagAttributes $tagAttributes): string 370 public static function renderEnterXhtml(TagAttributes $tagAttributes, array $data): string 395 public static function renderExitXhtml(TagAttributes [all...] |
H A D | IconTag.php | 19 public static function handleSpecial(TagAttributes $tagAttributes, Doku_Handler $handler): array 79 * @param TagAttributes $tagAttributes 82 public static function renderEmptyTag(TagAttributes $tagAttributes): string 114 public static function handleEnter(TagAttributes $tagAttributes, Doku_Handler $handler): array 129 public static function renderEnterTag(TagAttributes $tagAttributes): string 140 $tooltipTag = TagAttributes::createFromCallStackArray([Tooltip::TOOLTIP_ATTRIBUTE => $tooltip])
|
H A D | PageExplorerTag.php | 116 $listItemEnterTag = TagAttributes::createEmpty() 279 public static function renderEnterTag(TagAttributes $pageExplorerTagAttributes, array $data) 286 $id = $pageExplorerTagAttributes->getValue(TagAttributes::ID_KEY); 289 $pageExplorerTagAttributes->setComponentAttributeValue(TagAttributes::ID_KEY, $id); 377 ->removeAttributeIfPresent(TagAttributes::WIKI_ID) 393 $indexTagAttributes = TagAttributes::createFromCallStackArray($indexAttributes); 441 $parentTagAttributes = TagAttributes::createFromCallStackArray($parentAttributes); 487 $namespaceEnterTag = TagAttributes::createFromCallStackArray($data[PageExplorerTag::NAMESPACE_ATTRIBUTES]) 491 $pageEnterTag = TagAttributes::createFromCallStackArray($data[PageExplorerTag::PAGE_ATTRIBUTES]) 616 $pageExplorerTagAttributes->addOutputAttributeValue("data-" . TagAttributes [all...] |
H A D | ButtonTag.php | 38 * @param TagAttributes $tagAttributes 40 public static function processButtonAttributesToHtmlAttributes(TagAttributes &$tagAttributes) 46 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY, "primary"); 97 public static function handleEnter(TagAttributes $attributes, \Doku_Handler $handler): array 157 public static function renderEnterXhtml(TagAttributes $tagAttributes, DokuWiki_Syntax_Plugin $plugin, array $data): string
|
H A D | BrandTag.php | 25 public static function handleSpecialEnter(TagAttributes $tagAttributes, \Doku_Handler $handler): array 69 public static function render(TagAttributes $tagAttributes, int $state, array $data): string 135 $iconAttributes = TagAttributes::createFromCallStackArray($iconAttributes); 190 public static function createButtonFromAttributes(TagAttributes $brandAttributes, $type = BrandButton::TYPE_BUTTON_BRAND): BrandButton 192 $brandName = $brandAttributes->getValue(TagAttributes::TYPE_KEY, Brand::CURRENT_BRAND); 226 public static function mixBrandButtonToTagAttributes(TagAttributes $tagAttributes, BrandButton $brandButton): TagAttributes
|
H A D | BrandListTag.php | 12 public static function render(TagAttributes $tagAttributes): string 36 $widgetType = ucfirst($variant[TagAttributes::TYPE_KEY]); 73 $widgetType = $variant[TagAttributes::TYPE_KEY]; 91 $iconAttributes = TagAttributes::createFromCallStackArray($iconArrayAttributes);
|
/plugin/combo/ComboStrap/Tag/ |
H A D | TableTag.php | 18 use ComboStrap\TagAttributes; alias 45 static function renderEnterXhtml(TagAttributes $tagAttributes, \Doku_Renderer_xhtml $renderer) 68 $renderer->doc .= TagAttributes::createEmpty(self::TAG_CONTAINER) 71 $renderer->doc .= TagAttributes::createEmpty(self::TAG)
|
H A D | BackgroundTag.php | 16 use ComboStrap\TagAttributes; alias 51 * @param TagAttributes $attributes 53 public static function handleEnterAndSpecial(TagAttributes $attributes) 65 * @param TagAttributes $backgroundAttributes 69 public static function setAttributesToParentAndReturnData(CallStack $callStack, TagAttributes $backgroundAttributes, $state): array 153 $backgroundAttributes = TagAttributes::createFromCallStackArray($openingTag->getAttributes()) 178 if (!str_contains($ref, TagAttributes::TYPE_KEY) && str_contains($ref, "svg")) {
|
H A D | MermaidTag.php | 13 use ComboStrap\TagAttributes; alias 52 * @param TagAttributes $tagAttributes 55 public static function renderEnter(TagAttributes $tagAttributes): string 114 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 146 $tagAttributes = TagAttributes::createFromTagMatch($match);
|
H A D | RelatedTag.php | 11 use ComboStrap\TagAttributes; alias 38 * @param TagAttributes $tagAttributes 43 public static function render(TagAttributes $tagAttributes): string 50 public static function renderForPage(MarkupPath $page, TagAttributes $tagAttributes = null): string 55 $tagAttributes = TagAttributes::createEmpty()
|
H A D | ShareTag.php | 18 use ComboStrap\TagAttributes; alias 27 * @param TagAttributes $shareAttributes 31 public static function renderSpecialEnter(TagAttributes $shareAttributes, $state): string 96 $tagIconAttributes = TagAttributes::createFromCallStackArray($iconAttributes); 126 public static function renderExit(TagAttributes $tagAttributes): string
|
H A D | BoxTag.php | 12 use ComboStrap\TagAttributes; alias 37 public static function handleEnter(TagAttributes $attributes) 113 static public function renderEnterXhtml(TagAttributes $tagAttributes): string 124 static function renderExitXhtml(TagAttributes $tagAttributes): string
|
/plugin/combo/syntax/ |
H A D | brand.php | 23 use ComboStrap\TagAttributes; alias 37 public static function addOpenLinkTagInCallStack(CallStack $callStack, TagAttributes $tagAttributes) 40 $linkArrayAttributes[TagAttributes::TYPE_KEY] = $tagAttributes->getLogicalTag(); 41 $linkAttributes = TagAttributes::createFromCallStackArray($linkArrayAttributes); 133 $defaultAttributes = [TagAttributes::TYPE_KEY => Brand::CURRENT_BRAND]; 134 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, [], true) 156 $openTagAttributes = TagAttributes::createFromCallStackArray($openTag->getAttributes()); 241 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]);
|
H A D | accordion.php | 9 use ComboStrap\TagAttributes; alias 149 $attributes = TagAttributes::createFromTagMatch($match) 156 if (!$attributes->hasComponentAttribute(TagAttributes::ID_KEY)) { 158 $attributes->addComponentAttributeValue(TagAttributes::ID_KEY, $idKey); 203 $attributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES])
|
H A D | note.php | 10 use ComboStrap\TagAttributes; alias 108 $defaultAttributes = array(TagAttributes::TYPE_KEY => self::INFO_TYPE); 110 $attributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knwonTypes); 155 $attributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES], self::TAG); 157 $type = $attributes->getValue(TagAttributes::TYPE_KEY);
|
H A D | tooltip.php | 8 use ComboStrap\TagAttributes; alias 21 * a tooltip on the container which makes the output of {@link TagAttributes::toHtmlEnterTag()} 144 $tagAttributes = TagAttributes::createFromTagMatch($match); 189 * class at the end of {@link TagAttributes::toHtmlEnterTag()} 229 $tagAttributes = TagAttributes::createFromCallStackArray($callStackArray); 235 $renderer->doc .= TagAttributes::createFromCallStackArray([Tooltip::TOOLTIP_ATTRIBUTE => $callStackArray]) 253 $tagAttributes = TagAttributes::createFromCallStackArray($callStackArray);
|
H A D | contentlist.php | 13 use ComboStrap\TagAttributes; alias 93 TagAttributes::CLASS_KEY => syntax_plugin_combo_contentlistitem::LIST_GROUP_ITEM_CLASS, 208 $attributes = TagAttributes::createFromTagMatch($match, $default, $knownType); 210 if ($attributes->hasComponentAttribute(TagAttributes::TYPE_KEY)) { 299 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES], self::MARKI_TAG); 318 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES], self::MARKI_TAG);
|
/plugin/combo/ComboStrap/TagAttribute/ |
H A D | BackgroundAttribute.php | 19 use ComboStrap\TagAttributes; alias 63 public static function processBackgroundAttributes(TagAttributes &$tagAttributes) 82 !isset($background[TagAttributes::TRANSFORM]) && 111 $backgroundTagAttribute = TagAttributes::createFromCallStackArray($background); 127 $backgroundTagAttribute = TagAttributes::createFromCallStackArray($background); 167 $backgroundImageValue[TagAttributes::TYPE_KEY] = FetcherSvg::ILLUSTRATION_TYPE; 178 $backgroundImageValue[TagAttributes::TYPE_KEY] = FetcherSvg::TILE_TYPE; 287 $mediaCallStackArray[TagAttributes::TITLE_KEY] = null; // not sure why 293 * @param TagAttributes $tagAttributes 298 private static function processPatternAttribute(TagAttributes [all...] |
H A D | Shadow.php | 19 use ComboStrap\TagAttributes; alias 42 * @param TagAttributes $attributes 44 public static function process(TagAttributes &$attributes) 113 * @param TagAttributes $attributes
|
H A D | Underline.php | 7 use ComboStrap\TagAttributes; alias 16 * @param TagAttributes $attributes 18 public static function processUnderlineAttribute(TagAttributes &$attributes)
|
H A D | Boldness.php | 8 use ComboStrap\TagAttributes; alias 21 * @param TagAttributes $tagAttributes 23 public static function processBoldnessAttribute(TagAttributes &$tagAttributes)
|