/** * Set the discussion thread for this idea * @since Version 3.9.1 * @param \Railpage\Forums\Thread $forumThread * @return \Railpage\Ideas\Idea */ public function setForumThread(Thread $forumThread) { $this->forum_thread_id = $forumThread->id; $this->commit(); $forumThread->putObject($this); return $this; }