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 (string $img_path, bool $is_temporary=true) | |
Constructor. More... | |
getImagePath () | |
Gets the absolute path to the rendered image. More... | |
isTemporary () | |
Defines whether the image is temporary and can be deleted after the preview was created. More... | |
delete () | |
Deletes the image file if it is temporary. More... | |
Private Attributes | |
string | $img_path = null |
The absolute path to the image. More... | |
bool | $is_temporary = true |
Defines whether the image is temporary and can be deleted after the preview was created from the 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 Represents an image that was created from a preview renderer and that can be further processed to create the preview.
Definition at line 27 of file class.ilRenderedImage.php.
ilRenderedImage::__construct | ( | string | $img_path, |
bool | $is_temporary = true |
||
) |
Constructor.
string | $img_path | The absolute path to the image. |
bool | $is_temporary | Defines whether the image is temporary and can be deleted after the preview was created. |
Definition at line 46 of file class.ilRenderedImage.php.
References $img_path, and $is_temporary.
ilRenderedImage::delete | ( | ) |
Deletes the image file if it is temporary.
Definition at line 75 of file class.ilRenderedImage.php.
References getImagePath(), and isTemporary().
ilRenderedImage::getImagePath | ( | ) |
Gets the absolute path to the rendered image.
Definition at line 57 of file class.ilRenderedImage.php.
References $img_path.
Referenced by delete().
ilRenderedImage::isTemporary | ( | ) |
Defines whether the image is temporary and can be deleted after the preview was created.
Definition at line 67 of file class.ilRenderedImage.php.
References $is_temporary.
Referenced by delete().
|
private |
The absolute path to the image.
Definition at line 32 of file class.ilRenderedImage.php.
Referenced by __construct(), and getImagePath().
|
private |
Defines whether the image is temporary and can be deleted after the preview was created from the image.
Definition at line 38 of file class.ilRenderedImage.php.
Referenced by __construct(), and isTemporary().