ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
HandlerInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Poll\Image\I;
22 
26 
28 {
29  public function uploadImage(
30  ObjectId $object_id,
31  string $file_path,
32  string $file_name,
33  int $user_id
34  ): void;
35 
36  public function cloneImage(
37  ObjectId $original_object_id,
38  ObjectId $clone_object_id,
39  int $user_id
40  ): void;
41 
42  public function deleteImage(
43  ObjectId $object_id,
44  int $user_id
45  ): void;
46 
47  public function getThumbnailImageURL(
48  ObjectId $object_id
49  ): null|string;
50 
51  public function getProcessedImageURL(
52  ObjectId $object_id
53  ): null|string;
54 
55  public function getUnprocessedImageURL(
56  ObjectId $object_id
57  ): null|string;
58 
59  public function getRessource(
60  ObjectId $object_id
61  ): null|Revision;
62 }
getRessource(ObjectId $object_id)
uploadImage(ObjectId $object_id, string $file_path, string $file_name, int $user_id)
cloneImage(ObjectId $original_object_id, ObjectId $clone_object_id, int $user_id)
getThumbnailImageURL(ObjectId $object_id)
getProcessedImageURL(ObjectId $object_id)
getUnprocessedImageURL(ObjectId $object_id)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
deleteImage(ObjectId $object_id, int $user_id)