ILIAS
release_8 Revision v8.19
|
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().
ILIAS\Style\Content\ImageFileRepo::deleteImageByFilename | ( | int | $style_id, |
string | $filename | ||
) |
Definition at line 130 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\dir().
|
protected |
Definition at line 52 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\deleteImageByFilename(), ILIAS\Style\Content\ImageFileRepo\getImages(), and ILIAS\Style\Content\ImageFileRepo\uploadImage().
ILIAS\Style\Content\ImageFileRepo::getImages | ( | int | $style_id | ) |
Get images of style.
int | $style_id |
Filesystem |
Definition at line 63 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\dir(), ILIAS\Style\Content\ImageFileRepo\getWebPath(), and ILIAS\Data\DataSize\KB.
Referenced by ILIAS\Style\Content\ImageFileRepo\getWebPath().
ILIAS\Style\Content\ImageFileRepo::getWebPath | ( | string | $path | ) |
Definition at line 89 of file class.ImageFileRepo.php.
References $filename, $i, $path, CLIENT_ID, ILIAS\Style\Content\ImageFileRepo\getImages(), and ILIAS_WEB_DIR.
Referenced by ILIAS\Style\Content\ImageFileRepo\getImages().
ILIAS\Style\Content\ImageFileRepo::uploadImage | ( | int | $style_id | ) |
int | $style_id |
Filesystem |
Definition at line 111 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\$upload, ILIAS\Style\Content\ImageFileRepo\dir(), 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.
|
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(), and ILIAS\Style\Content\ImageFileRepo\uploadImage().
|
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.