function paginated()
 {
     $items = Items::getItems();
     $curPage = isset($this->params[0]) ? $this->params[0] : 0;
     $p = new Pagination($items, $curPage);
     $p->before(APP_URL . '/mymodule/paginated')->after('/anything/else/')->startAtOne();
     $this->_view->pagination = $p;
     $this->_view->items = $items;
     $this->template('content', 'paginatedExemple.phtml');
     $this->show('main.tpl');
 }