|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Style\Content\ImageFileRepo:Public Member Functions | |
| __construct (InternalDataService $factory, Filesystem\Filesystem $web_files, FileUpload $upload, protected IRSSWrapper $irss) | |
| getImages (int $style_id, string $rid, bool $include_size_info=false) | |
| Get images of style. More... | |
| getImageStream (string $rid, string $image) | |
| addStream (string $rid, string $image, FileStream $stream) | |
| getWebPath (string $path) | |
| deleteImageByFilename (int $style_id, string $filename) | |
| importFromUploadResult (string $rid, UploadResult $result,) | |
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 34 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::__construct | ( | InternalDataService | $factory, |
| Filesystem\Filesystem | $web_files, | ||
| FileUpload | $upload, | ||
| protected IRSSWrapper | $irss | ||
| ) |
Definition at line 42 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\$factory, ILIAS\Style\Content\ImageFileRepo\$upload, ILIAS\Style\Content\ImageFileRepo\$web_files, factory(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ILIAS\Style\Content\ImageFileRepo::addStream | ( | string | $rid, |
| string | $image, | ||
| FileStream | $stream | ||
| ) |
Definition at line 143 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::deleteImageByFilename | ( | int | $style_id, |
| string | $filename | ||
| ) |
Definition at line 177 of file class.ImageFileRepo.php.
References $filename.
|
protected |
Definition at line 54 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::getImages | ( | int | $style_id, |
| string | $rid, | ||
| bool | $include_size_info = false |
||
| ) |
Get images of style.
| int | $style_id |
| Filesystem |
Exception\DirectoryNotFoundException
Definition at line 65 of file class.ImageFileRepo.php.
References Vendor\Package\$e, $path, factory(), and ILIAS\Data\DataSize\KB.
Here is the call graph for this function:| ILIAS\Style\Content\ImageFileRepo::getImageStream | ( | string | $rid, |
| string | $image | ||
| ) |
Definition at line 133 of file class.ImageFileRepo.php.
| ILIAS\Style\Content\ImageFileRepo::getWebPath | ( | string | $path | ) |
Definition at line 156 of file class.ImageFileRepo.php.
References $path, CLIENT_ID, and ILIAS_WEB_DIR.
| ILIAS\Style\Content\ImageFileRepo::importFromUploadResult | ( | string | $rid, |
| UploadResult | $result | ||
| ) |
Definition at line 183 of file class.ImageFileRepo.php.
|
protected |
Definition at line 38 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\__construct().
|
protected |
Definition at line 40 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 36 of file class.ImageFileRepo.php.