Lines Matching refs:attributes

171     public static function array2HTMLAttributesAsString($attributes)  argument
174 $tagAttributes = TagAttributes::createFromCallStackArray($attributes);
269 $attributes = array();
293 $attributes[TagAttributes::TYPE_KEY] = $nextArgument;
311 $attributes[$keyThirdArgument] = $nextArgument;
329 $attributes = array_merge($attributes, $parsedAttributes);;
331 return $attributes;
430 * @param TagAttributes $attributes
432 public static function processStyle(&$attributes) argument
436 if ($attributes->hasComponentAttribute($styleAttributeName)) {
437 $properties = explode(";", $attributes->getValueAndRemove($styleAttributeName));
441 $attributes->addStyleDeclarationIfNotSet($key, $value);
453 if ($attributes->hasComponentAttribute(ColorRgb::BORDER_COLOR)) {
454 $colorValue = $attributes->getValueAndRemove(ColorRgb::BORDER_COLOR);
455 …$attributes->addStyleDeclarationIfNotSet(ColorRgb::BORDER_COLOR, ColorRgb::createFromString($color…
456 self::checkDefaultBorderColorAttributes($attributes);
680 * @param array $attributes
683 static function addClass2Attributes($classValue, array &$attributes) argument
685 self::addAttributeValue("class", $classValue, $attributes);
692 * @param array $attributes
696 static function addStyleProperty($property, $value, array &$attributes) argument
698 if (isset($attributes["style"])) {
699 $attributes["style"] .= ";$property:$value";
701 $attributes["style"] = "$property:$value";
799 static function addAttributeValue($attribute, $value, array &$attributes) argument
801 if (array_key_exists($attribute, $attributes) && $attributes[$attribute] !== "") {
802 $attributes[$attribute] .= " {$value}";
804 $attributes[$attribute] = "{$value}";
833 $attributes = $data[PluginUtility::ATTRIBUTES] ?? [];
834 $tagAttributes = TagAttributes::createFromCallStackArray($attributes);