|
ILIAS
Release_5_0_x_branch Revision 61816
|
Represents an image that was created from a preview renderer and that can be further processed to create the preview. More...
Collaboration diagram for ilRenderedImage:Public Member Functions | |
| __construct ($img_path, $is_temporary=true) | |
| Constructor. | |
| getImagePath () | |
| Gets the absolute path to the rendered image. | |
| isTemporary () | |
| Defines whether the image is temporary and can be deleted after the preview was created. | |
| delete () | |
| Deletes the image file if it is temporary. | |
Private Attributes | |
| $img_path = null | |
| $is_temporary = true | |
Represents an image that was created from a preview renderer and that can be further processed to create the preview.
Definition at line 15 of file class.ilRenderedImage.php.
| ilRenderedImage::__construct | ( | $img_path, | |
$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 36 of file class.ilRenderedImage.php.
References $img_path, and $is_temporary.
| ilRenderedImage::delete | ( | ) |
Deletes the image file if it is temporary.
Definition at line 65 of file class.ilRenderedImage.php.
References getImagePath(), and isTemporary().
Here is the call graph for this function:| ilRenderedImage::getImagePath | ( | ) |
Gets the absolute path to the rendered image.
Definition at line 47 of file class.ilRenderedImage.php.
References $img_path.
Referenced by delete().
Here is the caller graph for this function:| ilRenderedImage::isTemporary | ( | ) |
Defines whether the image is temporary and can be deleted after the preview was created.
Definition at line 57 of file class.ilRenderedImage.php.
References $is_temporary.
Referenced by delete().
Here is the caller graph for this function:
|
private |
Definition at line 21 of file class.ilRenderedImage.php.
Referenced by __construct(), and getImagePath().
|
private |
Definition at line 28 of file class.ilRenderedImage.php.
Referenced by __construct(), and isTemporary().