/** * @see PostList::readPosts() */ public function readPosts() { parent::readPosts(); // calculate max post time foreach ($this->posts as $post) { if ($post->time > $this->maxPostTime) { $this->maxPostTime = $post->time; } } }