|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\MetaData\Copyright\Renderer:
Collaboration diagram for ILIAS\MetaData\Copyright\Renderer:Public Member Functions | |
| __construct (Factory $factory, IRSS $irss) | |
| 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) | |
Protected Member Functions | |
| buildIcon (CopyrightDataInterface $copyright) | |
| buildIconFromLink (CopyrightDataInterface $copyright) | |
| buildIconFromFile (CopyrightDataInterface $copyright) | |
| buildFallBackIcon (CopyrightDataInterface $copyright) | |
| getFallBackSrc () | |
| buildLink (CopyrightDataInterface $copyright, bool $allow_empty_link) | |
| customIcon (string $src, string $alt) | |
| standardLink (string $label, string $action, ?Relationship $relationship, bool $disabled) | |
| textInLegacy (string $text) | |
| getSourceFromIRSS (string $string_id) | |
Protected Attributes | |
| const string | FALLBACK_IMG = 'copyrights\all_rights_reserved.svg' |
| Factory | $factory |
| IRSS | $irss |
Definition at line 30 of file Renderer.php.
| ILIAS\MetaData\Copyright\Renderer::__construct | ( | Factory | $factory, |
| IRSS | $irss | ||
| ) |
Definition at line 37 of file Renderer.php.
References ILIAS\MetaData\Copyright\Renderer\$factory, ILIAS\MetaData\Copyright\Renderer\$irss, and factory().
Here is the call graph for this function:
|
protected |
Definition at line 128 of file Renderer.php.
References ILIAS\MetaData\Copyright\CopyrightDataInterface\altText(), ILIAS\MetaData\Copyright\Renderer\customIcon(), and ILIAS\MetaData\Copyright\Renderer\getFallBackSrc().
Referenced by ILIAS\MetaData\Copyright\Renderer\buildIcon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 91 of file Renderer.php.
References ILIAS\MetaData\Copyright\Renderer\buildFallBackIcon(), ILIAS\MetaData\Copyright\Renderer\buildIconFromFile(), ILIAS\MetaData\Copyright\Renderer\buildIconFromLink(), ILIAS\MetaData\Copyright\CopyrightDataInterface\fallBackToDefaultImage(), ILIAS\MetaData\Copyright\CopyrightDataInterface\hasImage(), and ILIAS\MetaData\Copyright\CopyrightDataInterface\isImageLink().
Referenced by ILIAS\MetaData\Copyright\Renderer\toImageOnly(), and ILIAS\MetaData\Copyright\Renderer\toUIComponents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 114 of file Renderer.php.
References ILIAS\MetaData\Copyright\CopyrightDataInterface\altText(), ILIAS\MetaData\Copyright\Renderer\customIcon(), ILIAS\MetaData\Copyright\Renderer\getSourceFromIRSS(), and ILIAS\MetaData\Copyright\CopyrightDataInterface\imageFile().
Referenced by ILIAS\MetaData\Copyright\Renderer\buildIcon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 106 of file Renderer.php.
References ILIAS\MetaData\Copyright\CopyrightDataInterface\altText(), ILIAS\MetaData\Copyright\Renderer\customIcon(), and ILIAS\MetaData\Copyright\CopyrightDataInterface\imageLink().
Referenced by ILIAS\MetaData\Copyright\Renderer\buildIcon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 141 of file Renderer.php.
References ILIAS\MetaData\Copyright\CopyrightDataInterface\fullName(), ILIAS\MetaData\Copyright\CopyrightDataInterface\link(), and ILIAS\MetaData\Copyright\Renderer\standardLink().
Referenced by ILIAS\MetaData\Copyright\Renderer\toLinkOnly(), and ILIAS\MetaData\Copyright\Renderer\toUIComponents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 157 of file Renderer.php.
References factory(), and ILIAS\UI\Component\Symbol\Icon\Icon\MEDIUM.
Referenced by ILIAS\MetaData\Copyright\Renderer\buildFallBackIcon(), ILIAS\MetaData\Copyright\Renderer\buildIconFromFile(), and ILIAS\MetaData\Copyright\Renderer\buildIconFromLink().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 136 of file Renderer.php.
Referenced by ILIAS\MetaData\Copyright\Renderer\buildFallBackIcon().
Here is the caller graph for this function:
|
protected |
Definition at line 183 of file Renderer.php.
Referenced by ILIAS\MetaData\Copyright\Renderer\buildIconFromFile().
Here is the caller graph for this function:
|
protected |
Definition at line 162 of file Renderer.php.
Referenced by ILIAS\MetaData\Copyright\Renderer\buildLink().
Here is the caller graph for this function:
|
protected |
Definition at line 178 of file Renderer.php.
References factory().
Referenced by ILIAS\MetaData\Copyright\Renderer\toUIComponents().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\MetaData\Copyright\Renderer::toImageOnly | ( | CopyrightDataInterface | $copyright | ) |
Implements ILIAS\MetaData\Copyright\RendererInterface.
Definition at line 65 of file Renderer.php.
References ILIAS\MetaData\Copyright\Renderer\buildIcon().
Here is the call graph for this function:| ILIAS\MetaData\Copyright\Renderer::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 70 of file Renderer.php.
References ILIAS\MetaData\Copyright\Renderer\buildLink().
Here is the call graph for this function:| ILIAS\MetaData\Copyright\Renderer::toString | ( | CopyrightDataInterface | $copyright | ) |
Implements ILIAS\MetaData\Copyright\RendererInterface.
Definition at line 75 of file Renderer.php.
References $res, ILIAS\MetaData\Copyright\CopyrightDataInterface\fullName(), and ILIAS\MetaData\Copyright\CopyrightDataInterface\link().
Here is the call graph for this function:| ILIAS\MetaData\Copyright\Renderer::toUIComponents | ( | CopyrightDataInterface | $copyright | ) |
Implements ILIAS\MetaData\Copyright\RendererInterface.
Definition at line 48 of file Renderer.php.
References $res, ILIAS\MetaData\Copyright\Renderer\buildIcon(), ILIAS\MetaData\Copyright\Renderer\buildLink(), ILIAS\MetaData\Copyright\CopyrightDataInterface\fullName(), and ILIAS\MetaData\Copyright\Renderer\textInLegacy().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file Renderer.php.
Referenced by ILIAS\MetaData\Copyright\Renderer\__construct().
|
protected |
Definition at line 35 of file Renderer.php.
Referenced by ILIAS\MetaData\Copyright\Renderer\__construct().
|
protected |
Definition at line 32 of file Renderer.php.