| 
    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...
 Inheritance diagram for ilPreviewRenderer:
 Collaboration diagram for ilPreviewRenderer:Public Member Functions | |
| getName () | |
| Gets the name of the renderer.  More... | |
| isPlugin () | |
| Determines whether the renderer is a plugin or a built in one.  More... | |
| getSupportedRepositoryTypes () | |
| Gets an array containing the repository types (e.g.  More... | |
| supports (\ilPreview $preview) | |
| Determines whether the specified preview object is supported by the renderer.  More... | |
| render (\ilPreview $preview, \ilObject $obj, bool $async) | |
| Creates the preview of the specified preview object.  More... | |
Protected Member Functions | |
| renderImages (\ilObject $obj) | |
| Renders the specified object into images.  More... | |
| getImageSize () | |
| Gets the size of the preview images in pixels.  More... | |
| getImageQuality () | |
| Gets the quality (compression) of the preview images (1-100).  More... | |
| getMaximumNumberOfPreviews () | |
| Gets the maximum number of preview pictures per object.  More... | |
Private Member Functions | |
| createPreviewImage (string $src_img_path, string $dest_img_path) | |
| Creates a preview image path from the specified source image.  More... | |
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 Abstract parent class for all preview renderer classes.
Definition at line 26 of file class.ilPreviewRenderer.php.
      
  | 
  private | 
Creates a preview image path from the specified source image.
| string | $src_img_path | The source image path. | 
| string | $dest_img_path | The destination image path. | 
Definition at line 125 of file class.ilPreviewRenderer.php.
References ilShellUtil\escapeShellArg(), ilShellUtil\execQuoted(), getImageQuality(), getImageSize(), and ilUtil\isWindows().
Referenced by render().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  finalprotected | 
Gets the quality (compression) of the preview images (1-100).
Definition at line 169 of file class.ilPreviewRenderer.php.
References ilPreviewSettings\getImageQuality().
Referenced by createPreviewImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  finalprotected | 
Gets the size of the preview images in pixels.
Definition at line 159 of file class.ilPreviewRenderer.php.
References ilPreviewSettings\getImageSize().
Referenced by createPreviewImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  finalprotected | 
Gets the maximum number of preview pictures per object.
Definition at line 179 of file class.ilPreviewRenderer.php.
References ilPreviewSettings\getMaximumPreviews().
Referenced by ilGhostscriptRenderer\renderImages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPreviewRenderer::getName | ( | ) | 
Gets the name of the renderer.
Definition at line 33 of file class.ilPreviewRenderer.php.
References $name.
Referenced by ilObjFileAccessSettingsGUI\showPreviewRenderers().
 Here is the caller graph for this function:
      
  | 
  abstract | 
Gets an array containing the repository types (e.g.
'file' or 'crs') that are supported by the renderer.
Reimplemented in ilFilePreviewRenderer.
      
  | 
  final | 
Determines whether the renderer is a plugin or a built in one.
Definition at line 53 of file class.ilPreviewRenderer.php.
Referenced by ilObjFileAccessSettingsGUI\showPreviewRenderers().
 Here is the caller graph for this function:Creates the preview of the specified preview object.
| ilPreview | $preview | The preview object. | 
| ilObject | $obj | The object to create a preview for. | 
| bool | $async | true, if the rendering should be done asynchronously; otherwise, false. | 
Definition at line 85 of file class.ilPreviewRenderer.php.
References $preview, createPreviewImage(), ilUtil\now(), ilPreview\RENDER_STATUS_CREATED, ilPreview\RENDER_STATUS_FAILED, ilPreview\RENDER_STATUS_PENDING, and renderImages().
 Here is the call graph for this function:
      
  | 
  abstractprotected | 
Renders the specified object into images.
The images do not need to be of the preview image size.
| ilObject | $obj | The object to create images from. | 
Reimplemented in ilGhostscriptRenderer, and ilImageMagickRenderer.
Referenced by render().
 Here is the caller graph for this function:| ilPreviewRenderer::supports | ( | \ilPreview | $preview | ) | 
Determines whether the specified preview object is supported by the renderer.
| ilPreview | $preview | The preview object to check. | 
Reimplemented in ilFilePreviewRenderer.
Definition at line 71 of file class.ilPreviewRenderer.php.
References $preview.