ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
RepositoryObject.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2018 Jesús López <lopez@leifos.com> Extended GPL, see docs/LICENSE */
4
6
10
15interface RepositoryObject extends Card
16{
17
23 public function withObjectIcon(Icon $icon);
24
29 public function getObjectIcon();
30
36 public function withProgress(ProgressMeter $progressmeter);
37
42 public function getProgress();
43
49 public function withCertificateIcon($certificate_icon);
50
55 public function getCertificateIcon();
56
62 public function withActions($dropdown);
63
68 public function getActions();
69}
An exception for terminatinating execution or to throw for unit testing.
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...
getCertificateIcon()
Get the certificate icon.
withCertificateIcon($certificate_icon)
Get a RepositoryObject card like this, but with an additional certificate outlined icon.
getActions()
get the dropdown actions
withActions($dropdown)
Get a RepositoryObject card like this, but with an additional UI Dropdown object.
getProgress()
Get the progressmeter of the card.
withProgress(ProgressMeter $progressmeter)
Get a RepositoryObject card like this, but with an additional UI Progressmeter object.
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:16
This describes how a icon could be modified during construction of UI.
Definition: Icon.php:10