1 <?php
2
3 /*
4 * This file is part of the Icybee package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Brickrouge\Element\Nodes;
13
14 class Pager extends \Brickrouge\Pager
15 {
16 public function __construct($type, array $attributes=[])
17 {
18 parent::__construct($type, $attributes + [
19
20 self::BROWSE_NEXT_LABEL => '<i class="icon-arrow-right"></i>',
21 self::BROWSE_PREVIOUS_LABEL => '<i class="icon-arrow-left"></i>',
22
23 ]);
24 }
25
26 protected function getURL($n)
27 {
28 return '#' . $n;
29 }
30 }