Lines Matching refs:attribute
1052 public function removeComponentAttribute($attribute) argument
1054 $lowerAtt = strtolower($attribute);
1065 …LogUtility::msg("Internal Error: The component attribute ($attribute) is not present. Use the ifPr…
1192 function getValueAndRemoveIfPresent($attribute, $default = null) argument
1194 $value = $this->getValue($attribute, $default);
1195 $this->removeAttributeIfPresent($attribute);
1250 function addEmptyComponentAttributeValue($attribute) argument
1252 $this->componentAttributesCaseInsensitive[$attribute] = "";
1261 function getBooleanValueAndRemoveIfPresent($attribute, $default = null) argument
1263 $value = $this->getBooleanValue($attribute, $default);
1264 $this->removeAttributeIfPresent($attribute);
1269 function getBooleanValue($attribute, $default = null) argument
1271 $value = $this->getValue($attribute);
1278 public function hasAttribute($attribute): bool argument
1280 $hasAttribute = $this->hasComponentAttribute($attribute);
1284 return $this->hasHtmlAttribute($attribute);
1288 function hasHtmlAttribute($attribute): bool argument
1290 return isset($this->outputAttributes[$attribute]);
1296 function getOutputAttribute($attribute) argument
1298 $value = $this->outputAttributes[$attribute] ?? null;
1300 throw new ExceptionNotFound("No output attribute with the key ($attribute)");
1455 public function getComponentAttributeValueAndRemoveIfPresent(string $attribute, $default = null) argument
1457 $value = $this->getComponentAttributeValue($attribute, $default);
1458 $this->removeComponentAttributeIfPresent($attribute);