ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
NullRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
28{
32 public function toUIComponents(CopyrightDataInterface $copyright): array
33 {
34 return [];
35 }
36
37 public function toImageOnly(CopyrightDataInterface $copyright): ?Icon
38 {
39 return null;
40 }
41
42 public function toLinkOnly(CopyrightDataInterface $copyright): ?Link
43 {
44 return null;
45 }
46
47 public function toString(CopyrightDataInterface $copyright): string
48 {
49 return '';
50 }
51}
toImageOnly(CopyrightDataInterface $copyright)
toUIComponents(CopyrightDataInterface $copyright)
toLinkOnly(CopyrightDataInterface $copyright)
Returns a string as a disabled link, if only a string can be returned, or null if the copyright is im...
toString(CopyrightDataInterface $copyright)
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29