ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 getRenderers().
Referenced by ilPreview\create(), and ilPreview\hasPreview().
ilRendererFactory::getRenderers | ( | ) |
Gets an array containing all available preview renderers.
Definition at line 50 of file class.ilRendererFactory.php.
References $renderers.
Referenced by getRenderer().
|
private |
Definition at line 31 of file class.ilRendererFactory.php.
Referenced by getRenderers().