Lines Matching refs:attributeName
472 public function addComponentAttributeValue($attributeName, $attributeValue): TagAttributes argument
476 …LogUtility::msg("The value of the attribute ($attributeName) is empty. Use the nonEmpty function i…
479 $attLower = strtolower($attributeName);
488 if (in_array($attributeName, self::MULTIPLE_VALUES_ATTRIBUTES)) {
501 public function setComponentAttributeValue($attributeName, $attributeValue): TagAttributes argument
503 $attLower = strtolower($attributeName);
504 $actualValue = $this->getValue($attributeName);
511 public function addComponentAttributeValueIfNotEmpty($attributeName, $attributeValue) argument
514 $this->addComponentAttributeValue($attributeName, $attributeValue);
518 public function hasComponentAttribute($attributeName): bool argument
520 $isset = isset($this->componentAttributesCaseInsensitive[$attributeName]);
527 … if ($attributeName == $this->componentAttributesCaseInsensitive[TagAttributes::TYPE_KEY]) {
528 …l Error: The tag ({$this->getLogicalTag()}) has a boolean attribute ($attributeName) defined as a …
804 public function getValue($attributeName, $default = null) argument
806 $attributeName = strtolower($attributeName);
807 if ($this->hasComponentAttribute($attributeName)) {
808 return $this->componentAttributesCaseInsensitive[$attributeName];
823 public function getValueAndRemove($attributeName, $default = null) argument
825 $attributeName = strtolower($attributeName);
827 if ($this->hasComponentAttribute($attributeName)) {
828 $value = $this->getValue($attributeName);
830 if (!in_array($attributeName, self::PROTECTED_ATTRIBUTES)) {
835 unset($this->componentAttributesCaseInsensitive[$attributeName]);
896 function getComponentAttributeValue($attributeName, $default = null) argument
898 $lowerAttribute = strtolower($attributeName);
985 function removeComponentAttributeIfPresent($attributeName) argument
987 if ($this->hasComponentAttribute($attributeName)) {
988 unset($this->componentAttributesCaseInsensitive[$attributeName]);
1118 function getConditionalValueAndRemove($attributeName) argument
1120 $value = $this->getConditionalValueAndRemove($attributeName);
1132 function getValuesAndRemove($attributeName, $default = null): array argument
1135 $trim = $this->getValues($attributeName, $default);
1136 $this->removeAttributeIfPresent($attributeName);
1438 public function getValues($attributeName, ?array $default = null): ?array argument
1443 $value = $this->getValue($attributeName);
1448 …throw new ExceptionBadArgument("The attribute ($attributeName) does not contain a string, we can't…