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

Public Member Functions

 isDefault ()
 
 isOutdated ()
 
 identifier ()
 
 title ()
 
 description ()
 
 presentAsUIComponents ()
 
 presentAsImageOnly ()
 The copyright just as its image, for use e.g. More...
 
 presentAsLinkOnly ()
 The copyright just as a link, for use e.g. More...
 
 presentAsString ()
 The copyright without image in a reduced presentation, for displaying copyright where no UI components can be used (e.g. More...
 
 isDefault ()
 
 isOutdated ()
 
 identifier ()
 
 title ()
 
 description ()
 
 presentAsUIComponents ()
 The copyright as UI Components, as it should be presented in the UI almost everywhere. More...
 
 presentAsImageOnly ()
 The copyright just as its image, for use e.g. More...
 
 presentAsLinkOnly ()
 The copyright just as a link, for use e.g. More...
 
 presentAsString ()
 The copyright without image in a reduced presentation, for displaying copyright where no UI components can be used (e.g. More...
 

Detailed Description

Definition at line 27 of file NullCopyright.php.

Member Function Documentation

◆ description()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::description ( )

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 49 of file NullCopyright.php.

49 : string
50 {
51 return '';
52 }

◆ identifier()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::identifier ( )

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 39 of file NullCopyright.php.

39 : string
40 {
41 return '';
42 }

◆ isDefault()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::isDefault ( )

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 29 of file NullCopyright.php.

29 : bool
30 {
31 return false;
32 }

◆ isOutdated()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::isOutdated ( )

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 34 of file NullCopyright.php.

34 : bool
35 {
36 return false;
37 }

◆ presentAsImageOnly()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::presentAsImageOnly ( )

The copyright just as its image, for use e.g.

when the copyright needs to be inserted into other KS components, and the specific component it's presented as is important. If the copyright does not have an image, null is returned.

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 62 of file NullCopyright.php.

62 : ?Icon
63 {
64 return null;
65 }

◆ presentAsLinkOnly()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::presentAsLinkOnly ( )

The copyright just as a link, for use e.g.

when the copyright needs to be inserted into other KS components, and the specific component it's presented as is important. If the copyright has no link, its full name is returned as a disabled link. If it also does not have a full name, null is returned.

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 67 of file NullCopyright.php.

67 : ?Link
68 {
69 return null;
70 }

◆ presentAsString()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::presentAsString ( )

The copyright without image in a reduced presentation, for displaying copyright where no UI components can be used (e.g.

exports of tables).

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 72 of file NullCopyright.php.

72 : string
73 {
74 return '';
75 }

◆ presentAsUIComponents()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::presentAsUIComponents ( )
Returns
Icon[]|Link[]|Content[]

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 57 of file NullCopyright.php.

57 : array
58 {
59 return [];
60 }

◆ title()

ILIAS\MetaData\Services\CopyrightHelper\NullCopyright::title ( )

Implements ILIAS\MetaData\Services\CopyrightHelper\CopyrightInterface.

Definition at line 44 of file NullCopyright.php.

44 : string
45 {
46 return '';
47 }

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