ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (InternalDataService $factory, Filesystem\Filesystem $web_files, FileUpload $upload, protected IRSSWrapper $irss) | |
getImages (int $style_id, string $rid) | |
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().
ILIAS\Style\Content\ImageFileRepo::addStream | ( | string | $rid, |
string | $image, | ||
FileStream | $stream | ||
) |
Definition at line 135 of file class.ImageFileRepo.php.
ILIAS\Style\Content\ImageFileRepo::deleteImageByFilename | ( | int | $style_id, |
string | $filename | ||
) |
Definition at line 169 of file class.ImageFileRepo.php.
References ILIAS\Style\Content\ImageFileRepo\dir().
|
protected |
Definition at line 54 of file class.ImageFileRepo.php.
Referenced by ILIAS\Style\Content\ImageFileRepo\deleteImageByFilename(), and ILIAS\Style\Content\ImageFileRepo\getImages().
ILIAS\Style\Content\ImageFileRepo::getImages | ( | int | $style_id, |
string | $rid | ||
) |
Get images of style.
int | $style_id |
Filesystem |
Definition at line 65 of file class.ImageFileRepo.php.
References Vendor\Package\$e, $path, ILIAS\Style\Content\ImageFileRepo\dir(), factory(), ILIAS\Style\Content\ImageFileRepo\getWebPath(), and ILIAS\Data\DataSize\KB.
Referenced by ILIAS\Style\Content\ImageFileRepo\getWebPath().
ILIAS\Style\Content\ImageFileRepo::getImageStream | ( | string | $rid, |
string | $image | ||
) |
Definition at line 125 of file class.ImageFileRepo.php.
ILIAS\Style\Content\ImageFileRepo::getWebPath | ( | string | $path | ) |
Definition at line 148 of file class.ImageFileRepo.php.
References $filename, $path, CLIENT_ID, ILIAS\Style\Content\ImageFileRepo\getImages(), ILIAS_WEB_DIR, and null.
Referenced by ILIAS\Style\Content\ImageFileRepo\getImages().
ILIAS\Style\Content\ImageFileRepo::importFromUploadResult | ( | string | $rid, |
UploadResult | $result | ||
) |
Definition at line 175 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.