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