| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 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) | |
| getImagePath () | |
| create () | |
| update () | |
| delete () | |
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 = "" | 
| array | $types = null | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Badge Template
Definition at line 24 of file class.ilBadgeImageTemplate.php.
| ilBadgeImageTemplate::__construct | ( | int | $a_id = null | ) | 
Definition at line 33 of file class.ilBadgeImageTemplate.php.
 Here is the call graph for this function:| ilBadgeImageTemplate::create | ( | ) | 
Definition at line 244 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 284 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, $path, ilFileUtils\delDir(), getFilePath(), and getId().
Referenced by ilBadgeManagementGUI\saveBadge().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Init file system storage.
Definition at line 180 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 99 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 134 of file class.ilBadgeImageTemplate.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), and ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the caller graph for this function:| ilBadgeImageTemplate::getImagePath | ( | ) | 
Definition at line 163 of file class.ilBadgeImageTemplate.php.
References getFilePath(), getId(), and getImage().
Referenced by ilObjBadgeAdministrationGUI\setImageTemplateFormValues().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 46 of file class.ilBadgeImageTemplate.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeImageTemplateTableGUI\getItems().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 76 of file class.ilBadgeImageTemplate.php.
References $res.
Referenced by ilBadgeManagementGUI\initBadgeForm().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 302 of file class.ilBadgeImageTemplate.php.
References getImage(), 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 109 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 122 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 236 of file class.ilBadgeImageTemplate.php.
References setId(), setImage(), setTitle(), and setTypes().
Referenced by read().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 205 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 310 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 94 of file class.ilBadgeImageTemplate.php.
Referenced by create(), and importDBRow().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 114 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow(), and uploadImage().
 Here is the caller graph for this function:| ilBadgeImageTemplate::setTitle | ( | string | $a_value | ) | 
Definition at line 104 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadgeImageTemplate::setTypes | ( | array | $types = null | ) | 
Definition at line 127 of file class.ilBadgeImageTemplate.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadgeImageTemplate::update | ( | ) | 
Definition at line 264 of file class.ilBadgeImageTemplate.php.
References $db, $ilDB, create(), getId(), getPropertiesForStorage(), and saveTypes().
Referenced by create(), 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 143 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 26 of file class.ilBadgeImageTemplate.php.
Referenced by create(), delete(), read(), readTypes(), saveTypes(), and update().
      
  | 
  protected | 
Definition at line 27 of file class.ilBadgeImageTemplate.php.
Referenced by getId().
      
  | 
  protected | 
Definition at line 29 of file class.ilBadgeImageTemplate.php.
Referenced by getImage().
      
  | 
  protected | 
Definition at line 28 of file class.ilBadgeImageTemplate.php.
Referenced by getTitle().
      
  | 
  protected | 
Definition at line 31 of file class.ilBadgeImageTemplate.php.
Referenced by getTypes().