Lines Matching defs:attributeValue
421 public static function isEmptyValue($attributeValue): bool
423 return empty($attributeValue) && !is_bool($attributeValue);
469 * @param $attributeValue
472 public function addComponentAttributeValue($attributeName, $attributeValue): TagAttributes
475 if (TagAttributes::isEmptyValue($attributeValue)) {
489 $this->componentAttributesCaseInsensitive[$attLower] = Html::mergeClassNames($attributeValue, $actual);
492 LogUtility::msg("The attribute ($attLower) stores an unique value and has already a value ($actual). to set another value ($attributeValue), use the `set` operation instead", LogUtility::LVL_MSG_ERROR, self::CANONICAL);
494 $this->componentAttributesCaseInsensitive[$attLower] = $attributeValue;
501 public function setComponentAttributeValue($attributeName, $attributeValue): TagAttributes
506 $this->componentAttributesCaseInsensitive[$attLower] = $attributeValue;
511 public function addComponentAttributeValueIfNotEmpty($attributeName, $attributeValue)
513 if (!empty($attributeValue)) {
514 $this->addComponentAttributeValue($attributeName, $attributeValue);