|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ILIAS\Style\Content\ImageFileRepo:Public Member Functions | |
| __construct (InternalDataService $factory, Filesystem\Filesystem $web_files, FileUpload $upload) | |
| getImages (int $style_id) | |
| Get images of style. More... | |
| getWebPath (string $path) | |
| uploadImage (int $style_id) | |
| deleteImageByFilename (int $style_id, string $filename) | |
Protected Member Functions | |
| dir (int $style_id) | |
Protected Attributes | |
| const | DIR_PATH = "sty/sty_%id%/images" |
| InternalDataService | $factory |
| Filesystem Filesystem | $web_files |
| FileUpload | $upload |
Definition at line 33 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::__construct | ( | InternalDataService | $factory, |
| Filesystem\Filesystem | $web_files, | ||
| FileUpload | $upload | ||
| ) |
Definition at line 41 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\$factory, ILIAS\Style\Content\ImageFileRepo\$upload, ILIAS\Style\Content\ImageFileRepo\$web_files, and ILIAS\Repository\upload().
Here is the call graph for this function:| ILIAS\Style\Content\ImageFileRepo::deleteImageByFilename | ( | int | $style_id, |
| string | $filename | ||
| ) |
Definition at line 130 of file class.ImageFileRepo.php.
References $filename.
|
protected |
Definition at line 52 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::getImages | ( | int | $style_id | ) |
Get images of style.
| int | $style_id |
| Filesystem |
Exception\DirectoryNotFoundException
Definition at line 63 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\getWebPath(), and ILIAS\Data\DataSize\KB.
Here is the call graph for this function:| ILIAS\Style\Content\ImageFileRepo::getWebPath | ( | string | $path | ) |
Definition at line 89 of file class.ImageFileRepo.php.
References $path, CLIENT_ID, and ILIAS_WEB_DIR.
Referenced by ILIAS\Style\Content\ImageFileRepo\getImages().
Here is the caller graph for this function:| ILIAS\Style\Content\ImageFileRepo::uploadImage | ( | int | $style_id | ) |
| int | $style_id |
| Filesystem |
Exception\IOException
ILIAS\FileUpload\Exception\IllegalStateException
Definition at line 111 of file class.ImageFileRepo.php.
References ILIAS\FileUpload\FileUpload\getResults(), ILIAS\FileUpload\FileUpload\hasBeenProcessed(), ILIAS\FileUpload\FileUpload\hasUploads(), ILIAS\FileUpload\FileUpload\moveFilesTo(), ILIAS\FileUpload\DTO\ProcessingStatus\OK, ILIAS\FileUpload\FileUpload\process(), and ILIAS\FileUpload\Location\WEB.
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\__construct().
|
protected |
Definition at line 39 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\__construct().
|
protected |
Definition at line 38 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\__construct().
|
protected |
Definition at line 35 of file class.ImageFileRepo.php.