/** * Loads the posts and shows them. */ function perform() { $page = View::getCurrentPageFromRequest(); $this->_view = new SummaryUserListView(array("summary" => "UserList", "page" => $page, "locale" => $this->_locale->getLocaleCode())); if ($this->_view->isCached()) { // nothing to do, the view is cached return true; } $this->setCommonData(); return true; }
/** * Loads the posts and shows them. */ function perform() { // this is a bit hackish but it works... $page = View::getCurrentPageFromRequest(); // create the view $this->_view = new SummaryBlogListView(array("summary" => "BlogList", "page" => $page, "locale" => $this->_locale->getLocaleCode())); if ($this->_view->isCached()) { // nothing to do, the view is cached return true; } $this->setCommonData(); return true; }