MOU@>PUC[mOUPCsNUC+   4 'A4 c@ˎ44 Ύ@u44 ߇4H484 8ou4`4 #\t[H44 QpG44 E3Zvt44 0F4 4  ـt4( 4 Cſ+-G4P 4 V~l[PH44Wc1`>4`[4 Wc144]4Wc148^4Wc14  (42xY(A?w~r47451FApNA|8ÞAP4K>Лؔ4^Aw`PA?Az4A஋4GTp4%AUꟐXA4៱r*844j v5u4MOU>`4QUIpRQUpPUH(@pRUPPB  42xY(A?w~r4@451FApNA|8ÞA4K>Л@4^Aw`PA8?Az4AP4GT04%AUꟐXA<4៱r*;44j v5u4[NUPp(q`QUPu NU<QU*p*%U  42xY(A?w~r<47451FApNA|8ÞA64K>Л64(^Aw`PA4z4A4GT`4%AUꟐXAh64៱r*H84`4j v5u04QU`hQU`iptQUPiZKOU@ip4NUpi  42xY(A?w~r64@451FApNA|8ÞA54K>Л@64(^Aw`PAAz4A8`4GT 4%AUꟐXAH34៱r*p34p`4j v5up4@MUm>讟AZA4ȅ4APA4Ї4  [4|8ÞAXdA2xY(A1 "A@451FA/4ǰ~GA 4PqkA/ATX-AW4qu@GAH 421ATAUꟐXApA៱r*XR4 @4c}3$GPA"r:0G`S4Pn+nεApU4]ZIsGQUP QU`QUPNU@+n $this->parentId; } public function setParentId(?string $parentId): void { $this->parentId = $parentId; } public function getMediaId(): ?string { return $this->mediaId; } public function setMediaId(?string $mediaId): void { $this->mediaId = $mediaId; } public function getName(): ?string { return $this->name; } public function setName(?string $name): void { $this->name = $name; } public function getPath(): ?string { return $this->path; } public function setPath(?string $path): void { $this->path = $path; } public function getLevel(): int { return $this->level; } public function setLevel(int $level): void { $this->level = $level; } public function getActive(): bool { return $this->active; } public function setActive(bool $active): void { $this->active = $active; } public function getChildCount(): int { return $this->childCount; } public function setChildCount(int $childCount): void { $this->childCount = $childCount; } public function getVisibleChildCount(): int { return $this->visibleChildCount; } public function setVisibleChildCount(int $visibleChildCount): void { $this->visibleChildCount = $visibleChildCount; } public function getParent(): ?CategoryEntity { return $this->parent; } public function setParent(CategoryEntity $parent): void { $this->parent = $parent; } public function getMedia(): ?MediaEntity { return $this->media; } public function setMedia(MediaEntity $media): void { $this->media = $media; } public function getChildren(): ?CategoryCollection { return $this->children; } public function setChildren(CategoryCollection $children): void { $this->children = $children; } public function getTranslations(): ?CategoryTranslationCollection { return $this->translations; } public function setTranslations(CategoryTranslationCollection $translations): void { $this->translations = $translations; } public function getProducts(): ?ProductCollection { return $this->products; } public function setProducts(ProductCollection $products): void { $this->products = $products; } public function getAutoIncrement(): int { return $this->autoIncrement; } public function setAutoIncrement(int $autoIncrement): void { $this->autoIncrement = $autoIncrement; } public function getNestedProducts(): ?ProductCollection { return $this->nestedProducts; } public function setNestedProducts(ProductCollection $nestedProducts): void { $this->nestedProducts = $nestedProducts; } public function getDisplayNestedProducts(): bool { return $this->displayNestedProducts; } public function setDisplayNestedProducts(bool $displayNestedProducts): void { $this->displayNestedProducts = $displayNestedProducts; } public function getAfterCategoryId(): ?string { return $this->afterCategoryId; } public function setAfterCategoryId(string $afterCategoryId): void { $this->afterCategoryId = $afterCategoryId; } public function getTags(): ?TagCollection { return $this->tags; } public function setTags(TagCollection $tags): void { $this->tags = $tags; } public function getCmsPage(): ?CmsPageEntity { return $this->cmsPage; } public function setCmsPage(CmsPageEntity $cmsPage): void { $this->cmsPage = $cmsPage; } public function getCmsPageId(): ?string { return $this->cmsPageId; } public function setCmsPageId(string $cmsPageId): void { $this->cmsPageId = $cmsPageId; } public function getCmsPageIdSwitched(): bool { return $this->cmsPageIdSwitched; } public function setCmsPageIdSwitched(bool $switched): void { $this->cmsPageIdSwitched = $switched; } public function getProductStream(): ?ProductStreamEntity { return $this->productStream; } public function setProductStream(ProductStreamEntity $productStream): void { $this->productStream = $productStream; } public function getProductStreamId(): ?string { return $this->productStreamId; } public function setProductStreamId(string $productStreamId): void { $this->productStreamId = $productStreamId; } /** * @return array|null */ public function getSlotConfig(): ?array { return $this->slotConfig; } /** * @param array $slotConfig */ public function setSlotConfig(array $slotConfig): void { $this->slotConfig = $slotConfig; } public function getNavigationSalesChannels(): ?SalesChannelCollection { return $this->navigationSalesChannels; } public function setNavigationSalesChannels(SalesChannelCollection $navigationSalesChannels): void { $this->navigationSalesChannels = $navigationSalesChannels; } public function getFooterSalesChannels(): ?SalesChannelCollection { return $this->footerSalesChannels; } public function setFooterSalesChannels(SalesChannelCollection $footerSalesChannels): void { $this->footerSalesChannels = $footerSalesChannels; } public function getServiceSalesChannels(): ?SalesChannelCollection { return $this->serviceSalesChannels; } public function setServiceSalesChannels(SalesChannelCollection $serviceSalesChannels): void { $this->serviceSalesChannels = $serviceSalesChannels; } public function getLinkType(): ?string { return $this->linkType; } public function setLinkType(?string $linkType): void { $this->linkType = $linkType; } public function getLinkNewTab(): ?bool { return $this->linkNewTab; } public function setLinkNewTab(?bool $linkNewTab): void { $this->linkNewTab = $linkNewTab; } public function getInternalLink(): ?string { return $this->internalLink; } public function setInternalLink(?string $internalLink): void { $this->internalLink = $internalLink; } public function getExternalLink(): ?string { return $this->externalLink; } public function setExternalLink(string $externalLink): void { $this->externalLink = $externalLink; } public function getVisible(): bool { return $this->visible; } public function setVisible(bool $visible): void { $this->visible = $visible; } public function getType(): string { return $this->type; } public function setType(string $type): void { $this->type = $type; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): void { $this->description = $description; } /** * @return array */ public function getBreadcrumb(): array { return array_values($this->getPlainBreadcrumb()); } /** * @return array */ public function getPlainBreadcrumb(): array { $breadcrumb = $this->getTranslation('breadcrumb'); if ($breadcrumb === null) { return []; } if ($this->path === null) { return $breadcrumb; } $parts = \array_slice(explode('|', $this->path), 1, -1); $filtered = []; foreach ($parts as $id) { if (isset($breadcrumb[$id])) { $filtered[$id] = $breadcrumb[$id]; } } $filtered[$this->getId()] = $breadcrumb[$this->getId()]; return $filtered; } /** * @param array|null $breadcrumb */ public function setBreadcrumb(?array $breadcrumb): void { $this->breadcrumb = $breadcrumb; } /** * @return array */ public function jsonSerialize(): array { // Make sure that the sorted breadcrumb gets serialized $data = parent::jsonSerialize(); $data['translated']['breadcrumb'] = $data['breadcrumb'] = $this->getBreadcrumb(); return $data; } public function getMainCategories(): ?MainCategoryCollection { return $this->mainCategories; } public function setMainCategories(MainCategoryCollection $mainCategories): void { $this->mainCategories = $mainCategories; } public function getMetaTitle(): ?string { return $this->metaTitle; } public function setMetaTitle(?string $metaTitle): void { $this->metaTitle = $metaTitle; } public function getMetaDescription(): ?string { return $this->metaDescription; } public function setMetaDescription(?string $metaDescription): void { $this->metaDescription = $metaDescription; } public function getKeywords(): ?string { return $this->keywords; } public function setKeywords(?string $keywords): void { $this->keywords = $keywords; } public function getSeoUrls(): ?SeoUrlCollection { return $this->seoUrls; } public function setSeoUrls(SeoUrlCollection $seoUrls): void { $this->seoUrls = $seoUrls; } public function getProductAssignmentType(): string { return $this->productAssignmentType; } public function setProductAssignmentType(string $productAssignmentType): void { $this->productAssignmentType = $productAssignmentType; } public function getCustomEntityTypeId(): ?string { return $this->customEntityTypeId; } public function setCustomEntityTypeId(?string $customEntityTypeId): void { $this->customEntityTypeId = $customEntityTypeId; } }