| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 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 ILIAS\Style\Content\ImageFileRepo\dir().
 Here is the call graph for this function:
      
  | 
  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().
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Style\Content\ImageFileRepo::getWebPath | ( | string | $path | ) | 
Definition at line 89 of file class.ImageFileRepo.php.
References $filename, $path, CLIENT_ID, ILIAS\Style\Content\ImageFileRepo\getImages(), and ILIAS_WEB_DIR.
Referenced by ILIAS\Style\Content\ImageFileRepo\getImages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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.
 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(), 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.