• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aplus-framework / pagination / 8127679472

16 Jan 2024 08:39PM UTC coverage: 100.0%. Remained the same
8127679472

push

github

natanfelles
Merge branch 'new' into development

589 of 589 relevant lines covered (100.0%)

6.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Views/bootstrap-short.php
1
<?php
2
/*
3
 * This file is part of Aplus Framework Pagination Library.
4
 *
5
 * (c) Natan Felles <natanfelles@gmail.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
/**
11
 * @var Framework\Pagination\Pager $pager
12
 */
13
$language = $pager->getLanguage();
1✔
14
?>
15
<ul class="pagination justify-content-center">
1✔
16
    <?php if ($pager->getPreviousPage()) : ?>
1✔
17
        <li class="page-item">
1✔
18
            <a class="page-link" rel="prev" href="<?= $pager->getPreviousPageUrl() ?>">
1✔
19
                <?= $language->render('pagination', 'previous') ?>
1✔
20
            </a>
1✔
21
        </li>
22
    <?php endif ?>
23

24
    <?php if ($pager->getNextPage()) : ?>
1✔
25
        <li class="page-item">
1✔
26
            <a class="page-link" rel="next" href="<?= $pager->getNextPageUrl() ?>">
1✔
27
                <?= $language->render('pagination', 'next') ?>
1✔
28
            </a>
1✔
29
        </li>
30
    <?php endif ?>
31
</ul>
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc