public function getPosts($max = null) { return sfSimpleForumPostPeer::getForTopic($this->getId(), $max); }