/** * New reading list search engine * * @param string $id course id */ public function __construct($id) { $this->context_id = $id; $this->reading_list = new ReadingList($id); parent::__construct(); }