$params * @var array> $surnames * @var bool $totals * @var Tree $tree */ ?>
$surns) : ?> $count) : ?> listUrl($tree, ['surname' => $surname] + $params) : ''; } elseif ($surname === '') { if ($surn === '') { $label = I18N::translate('No surname'); } else { $label = e($surn); } $url = $module instanceof ModuleListInterface ? $module->listUrl($tree, ['surname' => $surname] + $params) : ''; } else { $label = e($surname); $url = $module instanceof ModuleListInterface ? $module->listUrl($tree, ['surname' => $surname] + $params) : ''; } if ($totals) { $item = I18N::translate('%1$s (%2$s)', '' . $label . '', I18N::number($count)); } else { $item = '' . $label . ''; } ?>