protected function parseUrlTemplate(array $options = [])
{
$str = '';
// If given page is the current active one
if ($options['page_number'] == $this->pager->getCurrentPage()) {
$str = $this->parseMaskReplacements($this->selectedTemplate);
}
// Possible attempt where Selected == Template
if ($str == '') {
$str = $this->parseMaskReplacements($this->template);
}
return $str;
}