Lines Matching defs:default
171 * The default id if no one is specified
262 * @var bool - adding the default class for the logical tag
306 * @param array $defaultAttributes - the default attributes values
398 default:
437 public function getClass($default = null)
439 $value = $this->getValue(self::CLASS_KEY, $default);
742 * By default, {@link TagAttributes::addOutputAttributeValue()}
801 * @param null $default
804 public function getValue($attributeName, $default = null)
810 return $default;
818 * @param $default
823 public function getValueAndRemove($attributeName, $default = null)
826 $value = $default;
896 function getComponentAttributeValue($attributeName, $default = null)
899 $value = $default;
1127 * @param null $default
1132 function getValuesAndRemove($attributeName, $default = null): array
1135 $trim = $this->getValues($attributeName, $default);
1192 function getValueAndRemoveIfPresent($attribute, $default = null)
1194 $value = $this->getValue($attribute, $default);
1257 * @param null $default
1261 function getBooleanValueAndRemoveIfPresent($attribute, $default = null)
1263 $value = $this->getBooleanValue($attribute, $default);
1269 function getBooleanValue($attribute, $default = null)
1275 return $default;
1390 public function getValueAsInteger(string $WIDTH_KEY, ?int $default = null): ?int
1392 $value = $this->getValue($WIDTH_KEY, $default);
1434 * @param array|null $default
1438 public function getValues($attributeName, ?array $default = null): ?array
1445 return $default;
1455 public function getComponentAttributeValueAndRemoveIfPresent(string $attribute, $default = null)
1457 $value = $this->getComponentAttributeValue($attribute, $default);