/** * @see Page::readData() */ public function readData() { parent::readData(); // get post, thread and board $this->post = new PostEditor($this->postID); $this->thread = new Thread($this->post->threadID); $this->board = Board::getBoard($this->thread->boardID); // get ip addresses of the author $this->authorIpAddresses = PostEditor::getIpAddressByAuthor($this->post->userID, $this->post->username, $this->post->ipAddress); // get hostnames $this->loadHostnames(); // get other users of this ip address if ($this->post->ipAddress) { $this->otherUsers = PostEditor::getAuthorByIpAddress($this->post->ipAddress, $this->post->userID, $this->post->username); } }