public function getSeriesForAuthor(int $authorId, array $exclude = []) : array
{
$series = $this->db->run('SELECT * FROM hull_blog_series WHERE author = ? AND seriesid NOT IN ' . $this->db->escapeValueSet($exclude, 'int') . ' ORDER BY name ASC', $authorId);
if (empty($series)) {
return [];
}
return $series;
}