CoolCMS API

MessageTrailTrait

Table of Contents

Methods

buildMessageTrail()  : array<string|int, BreadcrumbItemDTO>
Builds the trail for a message: its category trail plus the message subject as the active item.

Methods

buildMessageTrail()

Builds the trail for a message: its category trail plus the message subject as the active item.

protected buildMessageTrail(Message|null $message) : array<string|int, BreadcrumbItemDTO>

The class must also use CategoryTrailTrait.

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

Search results