ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
RepositoryObject.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
31interface RepositoryObject extends Card
32{
36 public function withObjectIcon(Icon $icon): RepositoryObject;
37
41 public function getObjectIcon(): ?Icon;
42
46 public function withProgress(ProgressMeter $progress_meter): RepositoryObject;
47
51 public function getProgress(): ?ProgressMeter;
52
56 public function withCertificateIcon(bool $certificate_icon): RepositoryObject;
57
61 public function getCertificateIcon(): ?bool;
62
66 public function withActions(Dropdown $dropdown): RepositoryObject;
67
71 public function getActions(): ?Dropdown;
72}
getObjectIcon()
Returns an UI Icon which represents the repository object type.
withObjectIcon(Icon $icon)
Get a RepositoryObject card like this, but with an additional UI Icon representing the repository obj...
withActions(Dropdown $dropdown)
Get a RepositoryObject card like this, but with an additional UI Dropdown object.
getCertificateIcon()
Get the certificate icon.
getActions()
get the dropdown actions
getProgress()
Get the ProgressMeter of the card.
withProgress(ProgressMeter $progress_meter)
Get a RepositoryObject card like this, but with an additional UI ProgressMeter object.
withCertificateIcon(bool $certificate_icon)
Get a RepositoryObject card like this, but with an additional certificate outlined icon.
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:35
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29