mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
27 lines
623 B
PHP
27 lines
623 B
PHP
<?php
|
|
|
|
namespace Gazelle\Report;
|
|
|
|
class Collage extends AbstractReport {
|
|
public function __construct(
|
|
protected readonly int $reportId,
|
|
protected readonly \Gazelle\Collage $subject
|
|
) {}
|
|
|
|
public function template(): string {
|
|
return 'report/collage.twig';
|
|
}
|
|
|
|
public function bbLink(): string {
|
|
return "the collage [url={$this->subject->url()}]" . display_str($this->subject->name()) . '[/url]';
|
|
}
|
|
|
|
public function titlePrefix(): string {
|
|
return 'Collage Report: ';
|
|
}
|
|
|
|
public function title(): string {
|
|
return $this->subject->name();
|
|
}
|
|
}
|