|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilRendererFactory:Public Member Functions | |
| __construct (array $additional_renderers=[]) | |
| getRenderers () | |
| Gets an array containing all available preview renderers. More... | |
| getRenderer (\ilPreview $preview) | |
| Gets the renderer that is able to create a preview for the specified preview object. More... | |
Private Attributes | |
| array | $renderers = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Factory that provides access to all available preview renderers.
Definition at line 26 of file class.ilRendererFactory.php.
| ilRendererFactory::__construct | ( | array | $additional_renderers = [] | ) |
| ilFilePreviewRenderer[] | $additional_renderers |
Definition at line 36 of file class.ilRendererFactory.php.
| ilRendererFactory::getRenderer | ( | \ilPreview | $preview | ) |
Gets the renderer that is able to create a preview for the specified preview object.
| ilPReview | $preview | The preview to get the renderer for. |
Definition at line 61 of file class.ilRendererFactory.php.
References $preview, and getRenderers().
Referenced by ilPreview\create(), and ilPreview\hasPreview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRendererFactory::getRenderers | ( | ) |
Gets an array containing all available preview renderers.
Definition at line 50 of file class.ilRendererFactory.php.
References $renderers.
Referenced by getRenderer().
Here is the caller graph for this function:
|
private |
Definition at line 31 of file class.ilRendererFactory.php.
Referenced by getRenderers().