| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilBadgeImageTemplate:Public Member Functions | |
| __construct (int $a_id=null) | |
| getId () | |
| setTitle (string $a_value) | |
| getTitle () | |
| getTypes () | |
| setTypes (array $types=null) | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| processImageUpload (ilBadgeImageTemplate $badge) | |
| getImagePath () | |
| create () | |
| update () | |
| delete () | |
| getImageRid () | |
| setImageRid (?string $image_rid=null) | |
| getImageFromResourceId (int $size=ilBadgeImage::IMAGE_SIZE_XS) | |
Static Public Member Functions | |
| static | getInstances () | 
| static | getInstancesByType (string $a_type_unique_id) | 
Protected Member Functions | |
| setId (int $a_id) | |
| setImage (?string $a_value) | |
| getFilePath (int $a_id, string $a_subdir=null) | |
| Init file system storage.  More... | |
| read (int $a_id) | |
| readTypes (int $a_id) | |
| importDBRow (array $a_row) | |
| getPropertiesForStorage () | |
| saveTypes () | |
Protected Attributes | |
| ilDBInterface | $db | 
| int | $id = 0 | 
| string | $title = "" | 
| string | $image = "" | 
| string | $image_rid = "" | 
| array | $types = null | 
| Services | $resource_storage | 
| FileUpload | $upload_service | 
| ilGlobalTemplateInterface | $main_template | 
Definition at line 25 of file class.ilBadgeImageTemplate.php.
| ilBadgeImageTemplate::__construct | ( | int | $a_id = null | ) | 
Definition at line 38 of file class.ilBadgeImageTemplate.php.
 Here is the call graph for this function:| ilBadgeImageTemplate::create | ( | ) | 
Definition at line 281 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, getId(), getPropertiesForStorage(), saveTypes(), setId(), and update().
Referenced by update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::delete | ( | ) | 
Definition at line 321 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $path, ilFileUtils\delDir(), getFilePath(), and getId().
 Here is the call graph for this function:
      
  | 
  protected | 
Init file system storage.
Definition at line 212 of file class.ilBadgeImageTemplate.php.
References $path.
Referenced by delete(), getImagePath(), and uploadImage().
 Here is the caller graph for this function:| ilBadgeImageTemplate::getId | ( | ) | 
Definition at line 107 of file class.ilBadgeImageTemplate.php.
References $id.
Referenced by create(), delete(), getImagePath(), saveTypes(), update(), and uploadImage().
 Here is the caller graph for this function:| ilBadgeImageTemplate::getImage | ( | ) | 
Definition at line 144 of file class.ilBadgeImageTemplate.php.
References $image.
Referenced by getImageFromResourceId(), getImagePath(), getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the caller graph for this function:| ilBadgeImageTemplate::getImageFromResourceId | ( | int | $size = ilBadgeImage::IMAGE_SIZE_XS | ) | 
Definition at line 378 of file class.ilBadgeImageTemplate.php.
References getImage(), getImagePath(), getImageRid(), and ilWACSignedPath\signFile().
Referenced by ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::getImagePath | ( | ) | 
Definition at line 195 of file class.ilBadgeImageTemplate.php.
References getFilePath(), getId(), and getImage().
Referenced by getImageFromResourceId(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::getImageRid | ( | ) | 
Definition at line 368 of file class.ilBadgeImageTemplate.php.
References $image_rid.
Referenced by getImageFromResourceId(), getPropertiesForStorage(), processImageUpload(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 54 of file class.ilBadgeImageTemplate.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\getRecords(), and ILIAS\Badge\ilBadgeImageTemplateTableGUI\renderTable().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 84 of file class.ilBadgeImageTemplate.php.
References $res.
Referenced by ilBadgeManagementGUI\initBadgeForm().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 339 of file class.ilBadgeImageTemplate.php.
References getImage(), getImageRid(), and getTitle().
Referenced by create(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::getTitle | ( | ) | 
Definition at line 117 of file class.ilBadgeImageTemplate.php.
References $title.
Referenced by getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the caller graph for this function:| ilBadgeImageTemplate::getTypes | ( | ) | 
Definition at line 132 of file class.ilBadgeImageTemplate.php.
References $types.
Referenced by saveTypes(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 268 of file class.ilBadgeImageTemplate.php.
References setId(), setImage(), setImageRid(), setTitle(), and setTypes().
Referenced by read().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::processImageUpload | ( | ilBadgeImageTemplate | $badge | ) | 
Definition at line 172 of file class.ilBadgeImageTemplate.php.
References Vendor\Package\$e, getImageRid(), setImageRid(), and update().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 237 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, importDBRow(), and readTypes().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 348 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, getId(), and getTypes().
Referenced by create(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 102 of file class.ilBadgeImageTemplate.php.
Referenced by create(), and importDBRow().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 122 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow(), and uploadImage().
 Here is the caller graph for this function:| ilBadgeImageTemplate::setImageRid | ( | ?string | $image_rid = null | ) | 
Definition at line 373 of file class.ilBadgeImageTemplate.php.
References $image_rid.
Referenced by importDBRow(), and processImageUpload().
 Here is the caller graph for this function:| ilBadgeImageTemplate::setTitle | ( | string | $a_value | ) | 
Definition at line 112 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadgeImageTemplate::setTypes | ( | array | $types = null | ) | 
Definition at line 137 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadgeImageTemplate::update | ( | ) | 
Definition at line 301 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, create(), getId(), getPropertiesForStorage(), and saveTypes().
Referenced by create(), processImageUpload(), and uploadImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadgeImageTemplate::uploadImage | ( | array | $a_upload_meta | ) | 
| ilException | |
| ilFileUtilsException | 
Definition at line 153 of file class.ilBadgeImageTemplate.php.
References $filename, $path, getFilePath(), getId(), ilFileUtils\getValidFilename(), ilFileUtils\moveUploadedFile(), setImage(), and update().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 27 of file class.ilBadgeImageTemplate.php.
Referenced by create(), delete(), read(), readTypes(), saveTypes(), and update().
      
  | 
  protected | 
Definition at line 28 of file class.ilBadgeImageTemplate.php.
Referenced by getId().
      
  | 
  protected | 
Definition at line 30 of file class.ilBadgeImageTemplate.php.
Referenced by getImage().
      
  | 
  protected | 
Definition at line 31 of file class.ilBadgeImageTemplate.php.
Referenced by getImageRid(), and setImageRid().
      
  | 
  protected | 
Definition at line 36 of file class.ilBadgeImageTemplate.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilBadgeImageTemplate.php.
      
  | 
  protected | 
Definition at line 29 of file class.ilBadgeImageTemplate.php.
Referenced by getTitle().
      
  | 
  protected | 
Definition at line 33 of file class.ilBadgeImageTemplate.php.
Referenced by getTypes().
      
  | 
  protected | 
Definition at line 35 of file class.ilBadgeImageTemplate.php.