add element icons
This commit is contained in:
parent
ac7af2463d
commit
f3f500d491
12 changed files with 49 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class Element
|
|||
private int $id,
|
||||
private string $title,
|
||||
private string $description,
|
||||
private ?string $iconImageUrl,
|
||||
private string $richText,
|
||||
private ?string $pdfPath,
|
||||
private ?string $youtubeUrl,
|
||||
|
|
@ -33,6 +34,11 @@ class Element
|
|||
return $this->description;
|
||||
}
|
||||
|
||||
public function getIconImageUrl(): ?string
|
||||
{
|
||||
return $this->iconImageUrl;
|
||||
}
|
||||
|
||||
public function getRichText(): string
|
||||
{
|
||||
return $this->richText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue