escapeHtmlAttr(uniqid()); $labelAttrs = !empty($this->labelAttrs) ? (' ' . implode(' ', $this->labelAttrs)) : ''; $inputAttrs = !empty($this->inputAttrs) ? (' ' . implode(' ', $this->inputAttrs)) : ''; $rating = $ratingData['count'] ? ($ratingData['rating'] ?? 0) : null; // Unique name for the fields of read-only ratings so that displaying multiple ratings on a page works: $fieldName = $this->readonly ? "rating_{$id}" : 'rating'; ?>
allowClear)): ?> =$this->transEsc('Clear')?>