$limit) { $results = array_slice($results, 0, $limit); if ($count < 100) { $result_txt = sprintf(_('Alle %s Treffer anzeigen'), $count); } else { $result_txt = sprintf(_('Die ersten %s Treffer anzeigen'), $count); } if (!$this->zusatz) { $this->zusatz = '' . $result_txt . ''; } $results[sizeof($results)] = ['', '']; } return $results; } public function getAvatarImageTag($id, $size = Avatar::SMALL, $options = []) { if (!$id) { return $this->zusatz; } return parent::getAvatarImageTag($id, $size = Avatar::SMALL, $options); } public function setQsName($qs_name) { $this->qs_name = $qs_name; } }