/var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools/src/View/Helper
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools/src/View/Helper/PaginatorHelper.php (3608B)
_defaultConfig = Hash::merge($this->_defaultConfig, ['templates' => [
'nextActive' => '
{{text}}',
'nextDisabled' => '
{{text}}',
'prevActive' => '
{{text}}',
'prevDisabled' => '
{{text}}',
'first' => '
{{text}}',
'last' => '
{{text}}',
'number' => '
{{text}}',
'current' => '
{{text}}',
'ellipsis' => '
…',
]]);
parent::__construct($View, $config);
}
/**
* Generates a "next" link for a set of paged records
* @param string $title Title for the link
* @param array $options Options for pagination link
* @return string A "next" link or a disabled link
*/
public function next(string $title = 'Next >>', array $options = []): string
{
$options += ['escape' => false, 'icon-align' => 'right'];
[$title, $options] = $this->Icon->addIconToText($title, $options);
return parent::next($title, $options);
}
/**
* Generates a "previous" link for a set of paged records
* @param string $title Title for the link
* @param array $options Options for pagination link
* @return string A "previous" link or a disabled link
*/
public function prev(string $title = '<< Previous', array $options = []): string
{
$options += ['escape' => false];
[$title, $options] = $this->Icon->addIconToText($title, $options);
return parent::prev($title, $options);
}
}