ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\MetaData\Copyright\NullRenderer Class Reference
+ Inheritance diagram for ILIAS\MetaData\Copyright\NullRenderer:
+ Collaboration diagram for ILIAS\MetaData\Copyright\NullRenderer:

Public Member Functions

 toUIComponents (CopyrightDataInterface $copyright)
 
 toImageOnly (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 image only. More...
 
 toString (CopyrightDataInterface $copyright)
 
 toUIComponents (CopyrightDataInterface $copyright)
 Returns a string in a legacy UI component if only a string can be returned. More...
 
 toImageOnly (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 image only. More...
 
 toString (CopyrightDataInterface $copyright)
 

Detailed Description

Definition at line 27 of file NullRenderer.php.

Member Function Documentation

◆ toImageOnly()

ILIAS\MetaData\Copyright\NullRenderer::toImageOnly ( CopyrightDataInterface  $copyright)

Implements ILIAS\MetaData\Copyright\RendererInterface.

Definition at line 37 of file NullRenderer.php.

37 : ?Icon
38 {
39 return null;
40 }

◆ toLinkOnly()

ILIAS\MetaData\Copyright\NullRenderer::toLinkOnly ( CopyrightDataInterface  $copyright)

Returns a string as a disabled link, if only a string can be returned, or null if the copyright is image only.

Implements ILIAS\MetaData\Copyright\RendererInterface.

Definition at line 42 of file NullRenderer.php.

42 : ?Link
43 {
44 return null;
45 }

◆ toString()

ILIAS\MetaData\Copyright\NullRenderer::toString ( CopyrightDataInterface  $copyright)

Implements ILIAS\MetaData\Copyright\RendererInterface.

Definition at line 47 of file NullRenderer.php.

47 : string
48 {
49 return '';
50 }

◆ toUIComponents()

ILIAS\MetaData\Copyright\NullRenderer::toUIComponents ( CopyrightDataInterface  $copyright)
Returns
Icon[]|Link[]|Content[]

Implements ILIAS\MetaData\Copyright\RendererInterface.

Definition at line 32 of file NullRenderer.php.

32 : array
33 {
34 return [];
35 }

The documentation for this class was generated from the following file: