public static function pagination($page, $maxValuesPerPage, $totalValues) { $link_type = self::$link_pagination; echo GenericHandler::prevPage($page, $link_type); echo GenericHandler::pages($totalValues, $page, $maxValuesPerPage, $link_type); echo GenericHandler::nextPage($page, $maxValuesPerPage, $totalValues, $link_type); }
</tr> </tfoot> <tbody> <?foreach($pubs as $publication):?> <tr> <td><?echo $publication->title()?></td> <td> <?echo $publication->link()?> </td> <td> <a id="<?echo $publication->id()?>" title="analysis" class="delete publication" href="<?echo LinkController::getBaseURL()?>/admin/publication/delete"> excluir </a> </td> </tr> <?endforeach?> </tbody> </table> <?endif?> <div class="pagination"> <? $link = "admin/analise/list/"; echo "<br />".GenericHandler::prevPage($page, $link); echo " ".GenericHandler::pages($total, $page, PublicationController::$LIMIT_PER_PAGE, $link); echo " ".GenericHandler::nextPage($page, PublicationController::$LIMIT_PER_PAGE, $total, $link); ?> </div> <br /> <a href="<?echo LinkController::getBaseURL()?>/admin/publicacoes" class="link-goback">Voltar</a>