88 if ($this->value ===
'') {
92 if (!empty($this->parentName)) {
93 if ($this->requestHandler->has($this->parentName)) {
94 $submittedValue = $this->requestHandler->getByMethod($this->parentName);
95 if (is_array($submittedValue) && in_array($this->value, $submittedValue)) {
97 } elseif ($submittedValue === $this->value) {
99 } elseif (is_array($submittedValue) && in_array(
'on', $submittedValue)) {
102 $this->attributes->removeAttribute(
'selected');
104 } elseif ($this->requestHandler->hasRequest()) {
105 $this->attributes->removeAttribute(
'selected');
checkFilterAndSetIncomingDataFromRequest()
setAttribute($attribute, $value)
setParentName($parentName)