getUserID()); $reply->setOwner($replyOwner); } // get the person who started the thread $threadOwner = DBUser::getUserByUID($thread->getUserID()); // assign owner and replies $thread->setReplies($replies); $thread->setOwner($threadOwner); // Store data so it can be used in the view MVCController::$viewData['thread'] = $thread;