Home
last modified time | relevance | path

Searched refs:BrandButton (Results 1 – 9 of 9) sorted by relevance

/plugin/combo/ComboStrap/
H A DBrandTag.php58 $defaultWidget = BrandButton::WIDGET_LINK_VALUE;
60 $defaultWidget = BrandButton::WIDGET_BUTTON_VALUE;
123 $logoShouldBeInAnchorElement = !($brandButton->getWidget() === BrandButton::WIDGET_LINK_VALUE && $textFound);
190 public static function createButtonFromAttributes(TagAttributes $brandAttributes, $type = BrandButton::TYPE_BUTTON_BRAND): BrandButton
193 $widget = $brandAttributes->getValue(self::WIDGET_ATTRIBUTE, BrandButton::WIDGET_BUTTON_VALUE);
194 $icon = $brandAttributes->getValue(self::ICON_ATTRIBUTE, BrandButton::ICON_SOLID_VALUE);
196 $brandButton = (new BrandButton($brandName, $type))
226 public static function mixBrandButtonToTagAttributes(TagAttributes $tagAttributes, BrandButton $brandButton): TagAttributes
H A DBrandButton.php34 class BrandButton class
124 public static function createBrandButton(string $brand): BrandButton
126 return new BrandButton($brand, self::TYPE_BUTTON_BRAND);
133 public function setWidget($widget): BrandButton
149 public function setIconType($iconType): BrandButton
162 public function setWidth(?int $width): BrandButton
181 ?int $width = null): BrandButton
183 return (new BrandButton($brandName, self::TYPE_BUTTON_SHARE))
197 ?int $width = null): BrandButton
199 return (new BrandButton(
[all...]
H A DBrandListTag.php22 $variants = BrandButton::getVariants();
55 $brandButton = new BrandButton($brandName, $type);
82 if ($type === BrandButton::TYPE_BUTTON_SHARE) {
H A DBrand.php123 * @param $type - the button type (ie one of {@link BrandButton::TYPE_BUTTONS}
324 case BrandButton::TYPE_BUTTON_SHARE:
325 case BrandButton::TYPE_BUTTON_FOLLOW:
331 case BrandButton::TYPE_BUTTON_BRAND:
H A DXmlTagProcessing.php728 $knownTypes = BrandButton::TYPE_BUTTONS;
729 $defaultAttributes = [TagAttributes::TYPE_KEY => BrandButton::TYPE_BUTTON_BRAND];
/plugin/combo/ComboStrap/Tag/
H A DShareTag.php6 use ComboStrap\BrandButton; alias
38 $brandButton = BrandTag::createButtonFromAttributes($shareAttributes, BrandButton::TYPE_BUTTON_SHARE);
123 return Brand::getBrandNamesForButtonType(BrandButton::TYPE_BUTTON_SHARE);
135 $brandButton = BrandTag::createButtonFromAttributes($tagAttributes, BrandButton::TYPE_BUTTON_SHARE);
H A DFollowTag.php6 use ComboStrap\BrandButton; alias
25 return Brand::getBrandNamesForButtonType(BrandButton::TYPE_BUTTON_FOLLOW);
52 $brand = BrandTag::createButtonFromAttributes($tagAttributes, BrandButton::TYPE_BUTTON_FOLLOW);
/plugin/combo/syntax/
H A Dtoggle.php5 use ComboStrap\BrandButton; alias
107 $defaultParameters[self::WIDGET_ATTRIBUTE] = BrandButton::WIDGET_BUTTON_VALUE;
H A Dbrand.php6 use ComboStrap\BrandButton; alias
270 static function addIconInCallStack(CallStack $callStack, BrandButton $brandButton)