headTitle($this->translate('hierarchy_tree') . ': ' . $this->driver->getBreadcrumb());
$hierarchyTreeList = $this->tab->getTreeList();
$activeTree = $this->tab->getActiveTree();
?>
0): ?>
$hierarchyTitle): ?>
=$this->icon('hierarchy-tree') ?>
=$this->escapeHtml($hierarchyTitle)?>
=$this->icon('hierarchy-tree', ['class' => 'text-muted']) ?>
=$this->escapeHtml($hierarchyTitle)?>
tab->isFullHierarchyVisible()): ?>
tab->searchActive()): ?>
=$this->icon('spinner', 'js-load-indicator hidden') ?>
=$this->transEsc('An error has occurred')?>
=$this->transEsc('nohit_heading')?>
=$this->translate('tree_search_limit_reached_html', ['%%limit%%' => $this->tab->getSearchLimit()])?>
=$this->icon('spinner') ?> =$this->transEsc('loading_ellipsis')?>
htmlAttributes([
'class' => 'js-hierarchy-tree-placeholder',
'data-id' => $this->driver->getUniqueId(),
'data-source-id' => $this->driver->getSourceIdentifier(),
'data-hierarchy-id' => $activeTree,
'data-context' => $this->treeContext ?? 'Record',
'data-preview-element' => $this->treePreviewElement ?? '',
'data-lightbox' => $this->layout()->getTemplate() === 'layout/lightbox',
'data-full-hierarchy' => $this->tab->isFullHierarchyVisible(),
]);
?>
>
inlineScript(\Laminas\View\Helper\HeadScript::FILE, 'hierarchy_tree.js');
$js = <<