CoolCMS API

ArticleTrailTrait

Table of Contents

Methods

buildArticleTrail()  : array<string|int, BreadcrumbItemDTO>
Builds the trail for an article: its category trail plus the article title as the active item.

Methods

buildArticleTrail()

Builds the trail for an article: its category trail plus the article title as the active item.

protected buildArticleTrail(Article|null $article) : array<string|int, BreadcrumbItemDTO>

Requires the class to use CategoryTrailTrait as well.

Parameters
$article : Article|null
Return values
array<string|int, BreadcrumbItemDTO>
On this page

Search results