73 if ($this->value ===
'') {
77 if ($this->requestHandler->has($this->getName())) {
78 $submittedValue = $this->requestHandler->getByMethod($this->
getName());
79 if (is_array($submittedValue) && in_array($this->value, $submittedValue)) {
81 } elseif ($submittedValue === $this->value) {
83 } elseif (is_array($submittedValue) && in_array(
'on', $submittedValue)) {
86 } elseif ($this->requestHandler->hasRequest()) {
87 $this->attributes->removeAttribute(
'checked');
100 if (array_key_exists($attribute, $this->allowedAttributes)) {
101 $this->attributes->addAttribute($attribute,
$value);
103 if ($attribute ===
'name') {
105 $nameAttribute = $this->attributes->getAttributeObjectByKey(
'name');
106 $nameAttribute->setAddition(
'[]');
checkFilterAndSetIncomingDataFromRequest()
setAttribute($attribute, $value)