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

aplus-framework / pagination / 4999241113

pending completion
4999241113

push

github

Natan Felles
Add return types in user guide comments

585 of 585 relevant lines covered (100.0%)

6.14 hits per line

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

100.0
/src/Views/bulma-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
<nav class="pagination is-centered">
1✔
16
    <ul class="pagination-list">
1✔
17
        <?php if ($pager->getPreviousPage()) : ?>
1✔
18
            <li>
1✔
19
                <a class="pagination-link" rel="prev" href="<?= $pager->getPreviousPageUrl() ?>">
1✔
20
                    <?= $language->render('pagination', 'previous') ?>
1✔
21
                </a>
1✔
22
            </li>
23
        <?php endif ?>
24

25
        <?php if ($pager->getNextPage()) : ?>
1✔
26
            <li>
1✔
27
                <a class="pagination-link" rel="next" href="<?= $pager->getNextPageUrl() ?>">
1✔
28
                    <?= $language->render('pagination', 'next') ?>
1✔
29
                </a>
1✔
30
            </li>
31
        <?php endif ?>
32
    </ul>
1✔
33
</nav>
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