public function executeLatestPostsFeed() { $this->checkFeedPlugin(); $this->posts = sfSimpleForumPostPeer::getLatest(sfConfig::get('app_sfSimpleForumPlugin_feed_max', 10)); $this->rule = $this->getModuleName() . '/latestPosts'; $this->feed_title = $this->getFeedTitle(); return $this->renderText($this->getFeedFromObjects($this->posts)); }
public function executeLatestPosts() { $this->posts = sfSimpleForumPostPeer::getLatest(sfConfig::get('app_sfSimpleForumPlugin_max_per_block', 10)); }