19 declare(strict_types=1);
40 if (!$this->tax_domain->isActivated($this->glossary->getId())) {
43 $usage = $this->tax_domain->getUsageOfObject($this->glossary->getId());
44 return count($usage) === 1;
48 return $this->
showInEditing() && $this->glossary->getShowTaxonomy();
53 $usage = $this->tax_domain->getUsageOfObject($this->glossary->getId());
54 if (count($usage) === 1) {
55 return (
int) current($usage);
DomainService $tax_domain
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(DomainService $tax_domain, \ilObjGlossary $glossary)