|
ILIAS
release_8 Revision v8.24
|
Main business logic for content style images. More...
Collaboration diagram for ILIAS\Style\Content\ImageManager:Public Member Functions | |
| __construct (int $style_id, Access\StyleAccessManager $access_manager, ImageFileRepo $repo) | |
| getImages () | |
| Get images of style. More... | |
| getWebPath (Image $image) | |
| getByFilename (string $filename) | |
| resizeImage (string $filename, int $width, int $height, bool $constrain_proportions) | |
| supportsResize (Image $image) | |
| uploadImage () | |
| deleteByFilename (string $filename) | |
Protected Attributes | |
| ImageFileRepo | $repo |
| Access StyleAccessManager | $access_manager |
| int | $style_id |
Main business logic for content style images.
Definition at line 32 of file class.ImageManager.php.
| ILIAS\Style\Content\ImageManager::__construct | ( | int | $style_id, |
| Access\StyleAccessManager | $access_manager, | ||
| ImageFileRepo | $repo | ||
| ) |
Definition at line 38 of file class.ImageManager.php.
References ILIAS\Style\Content\ImageManager\$access_manager, ILIAS\Style\Content\ImageManager\$repo, and ILIAS\Style\Content\ImageManager\$style_id.
| ILIAS\Style\Content\ImageManager::deleteByFilename | ( | string | $filename | ) |
Definition at line 121 of file class.ImageManager.php.
References $filename.
| ILIAS\Style\Content\ImageManager::getByFilename | ( | string | $filename | ) |
Definition at line 76 of file class.ImageManager.php.
References $filename.
Referenced by ILIAS\Style\Content\ImageManager\resizeImage().
Here is the caller graph for this function:| ILIAS\Style\Content\ImageManager::getImages | ( | ) |
Get images of style.
| Filesystem |
Exception\DirectoryNotFoundException
Definition at line 53 of file class.ImageManager.php.
| ILIAS\Style\Content\ImageManager::getWebPath | ( | Image | $image | ) |
Definition at line 70 of file class.ImageManager.php.
References ILIAS\Style\Content\Image\getPath().
Referenced by ILIAS\Style\Content\ImageManager\resizeImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Style\Content\ImageManager::resizeImage | ( | string | $filename, |
| int | $width, | ||
| int | $height, | ||
| bool | $constrain_proportions | ||
| ) |
Definition at line 82 of file class.ImageManager.php.
References ILIAS\Style\Content\ImageManager\getByFilename(), ILIAS\Style\Content\ImageManager\getWebPath(), and ilShellUtil\resizeImage().
Here is the call graph for this function:| ILIAS\Style\Content\ImageManager::supportsResize | ( | Image | $image | ) |
Definition at line 101 of file class.ImageManager.php.
| ILIAS\Style\Content\ImageManager::uploadImage | ( | ) |
Definition at line 116 of file class.ImageManager.php.
|
protected |
Definition at line 35 of file class.ImageManager.php.
Referenced by ILIAS\Style\Content\ImageManager\__construct().
|
protected |
Definition at line 34 of file class.ImageManager.php.
Referenced by ILIAS\Style\Content\ImageManager\__construct().
|
protected |
Definition at line 36 of file class.ImageManager.php.
Referenced by ILIAS\Style\Content\ImageManager\__construct().