| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ilBadge:Public Member Functions | |
| __construct (int $a_id=null) | |
| clone (int $target_parent_obj_id) | |
| getTypeInstance () | |
| copy (int $a_new_parent_id) | |
| getId () | |
| setParentId (int $a_id) | |
| getParentId () | |
| setTypeId (string $a_id) | |
| getTypeId () | |
| setActive (bool $a_value) | |
| isActive () | |
| setTitle (string $a_value) | |
| getTitle () | |
| setDescription (string $a_value) | |
| getDescription () | |
| setCriteria (string $a_value) | |
| getCriteria () | |
| setValid (string $a_value) | |
| getValid () | |
| setConfiguration (array $a_value=null) | |
| getConfiguration () | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| importImage (string $a_name, string $a_file) | |
| getImagePath (bool $a_full_path=true) | |
| create () | |
| update () | |
| delete () | |
| getParentMeta () | |
| deleteStaticFiles () | |
Static Public Member Functions | |
| static | getInstancesByParentId (int $a_parent_id, array $a_filter=null) | 
| static | getInstancesByType (string $a_type_id) | 
| static | getObjectInstances (array $a_filter=null) | 
| static | getExtendedTypeCaption (ilBadgeType $a_type) | 
Protected Member Functions | |
| setId (int $a_id) | |
| setImage (string $a_value) | |
| getFilePath (int $a_id, string $a_subdir=null) | |
| read (int $a_id) | |
| importDBRow (array $a_row) | |
| getPropertiesForStorage () | |
| prepareJson (string $a_base_url, string $a_img_suffix) | |
Protected Attributes | |
| ilLanguage | $lng | 
| ilDBInterface | $db | 
| int | $id = 0 | 
| int | $parent_id = 0 | 
| string | $type_id = "" | 
| bool | $active = false | 
| string | $title = "" | 
| string | $desc = "" | 
| string | $image = "" | 
| string | $valid = "" | 
| array | $config = null | 
| string | $criteria = "" | 
Definition at line 24 of file class.ilBadge.php.
| ilBadge::__construct | ( | int | $a_id = null | ) | 
Definition at line 40 of file class.ilBadge.php.
References $DIC, ILIAS\Repository\lng(), and read().
 Here is the call graph for this function:| ilBadge::clone | ( | int | $target_parent_obj_id | ) | 
Definition at line 113 of file class.ilBadge.php.
References copy(), create(), getId(), getImagePath(), setActive(), setId(), and setParentId().
 Here is the call graph for this function:| ilBadge::copy | ( | int | $a_new_parent_id | ) | 
Definition at line 140 of file class.ilBadge.php.
References $lng, create(), getId(), getImagePath(), getTitle(), setActive(), setId(), setParentId(), setTitle(), and ilLanguage\txt().
Referenced by clone(), and importImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::create | ( | ) | 
Definition at line 429 of file class.ilBadge.php.
References $db, $id, $ilDB, getId(), getParentId(), getPropertiesForStorage(), getTypeId(), setId(), and update().
Referenced by clone(), copy(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::delete | ( | ) | 
Definition at line 468 of file class.ilBadge.php.
References $db, $ilDB, ilBadgeAssignment\deleteByBadgeId(), deleteStaticFiles(), getId(), and getImagePath().
 Here is the call graph for this function:| ilBadge::deleteStaticFiles | ( | ) | 
Definition at line 562 of file class.ilBadge.php.
References $path, ilFileUtils\delDir(), and ilBadgeHandler\getInstance().
Referenced by delete().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::getConfiguration | ( | ) | 
Definition at line 306 of file class.ilBadge.php.
References $config.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:| ilBadge::getCriteria | ( | ) | 
Definition at line 283 of file class.ilBadge.php.
References $criteria.
Referenced by getPropertiesForStorage(), ILIAS\Badge\Tile\modalContent(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:| ilBadge::getDescription | ( | ) | 
Definition at line 273 of file class.ilBadge.php.
References $desc.
Referenced by getPropertiesForStorage(), prepareJson(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 571 of file class.ilBadge.php.
References $DIC, $lng, ilBadgeType\getCaption(), and ilLanguage\txt().
Referenced by ilBadgeTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilBadgeTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), and ilBadgeManagementGUI\listBadges().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 375 of file class.ilBadge.php.
References $path.
Referenced by getImagePath().
 Here is the caller graph for this function:| ilBadge::getId | ( | ) | 
Definition at line 223 of file class.ilBadge.php.
References $id.
Referenced by clone(), copy(), ilBadgeHandler\countStaticBadgeInstances(), create(), delete(), ilBadgeHandler\getBadgePath(), getImagePath(), ILIAS\Badge\Tile\profileButton(), update(), and uploadImage().
 Here is the caller graph for this function:| ilBadge::getImage | ( | ) | 
Definition at line 316 of file class.ilBadge.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), ILIAS\Badge\Tile\image(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:| ilBadge::getImagePath | ( | bool | $a_full_path = true | ) | 
Definition at line 360 of file class.ilBadge.php.
References getFilePath(), getId(), and getImage().
Referenced by clone(), copy(), delete(), ILIAS\Badge\Tile\image(), importImage(), ilBadgeManagementGUI\setBadgeFormValues(), and uploadImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
| array | null | $a_filter | 
Definition at line 56 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjCourse\cloneObject(), ilBadgeHandler\getAvailableManualBadges(), ilBadgeAssignment\getInstancesByParentId(), ilBadgeTableGUI\getItems(), and ilBadgeUserTableGUI\getItems().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 92 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeHandler\triggerEvaluation().
 Here is the caller graph for this function:
      
  | 
  static | 
| array<string,mixed>|null | $a_filter | 
Definition at line 166 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjectBadgeTableGUI\getItems().
 Here is the caller graph for this function:| ilBadge::getParentId | ( | ) | 
Definition at line 233 of file class.ilBadge.php.
References $parent_id.
Referenced by create(), getParentMeta(), and ILIAS\Badge\BadgeParent\metaData().
 Here is the caller graph for this function:| ilBadge::getParentMeta | ( | ) | 
Definition at line 514 of file class.ilBadge.php.
References ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectDataDeletionLog\get(), and getParentId().
Referenced by ilBadgePersonalTableGUI\getItems(), and ILIAS\Badge\BadgeParent\metaData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 491 of file class.ilBadge.php.
References getConfiguration(), getCriteria(), getDescription(), getImage(), getTitle(), getValid(), and isActive().
Referenced by create(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::getTitle | ( | ) | 
Definition at line 263 of file class.ilBadge.php.
References $title.
Referenced by copy(), getPropertiesForStorage(), prepareJson(), ilBadgeManagementGUI\setBadgeFormValues(), and ILIAS\Badge\Tile\title().
 Here is the caller graph for this function:| ilBadge::getTypeId | ( | ) | 
Definition at line 243 of file class.ilBadge.php.
References $type_id.
Referenced by create(), ilBadgeManagementGUI\executeCommand(), and getTypeInstance().
 Here is the caller graph for this function:| ilBadge::getTypeInstance | ( | ) | 
Definition at line 131 of file class.ilBadge.php.
References $handler, ilBadgeHandler\getInstance(), and getTypeId().
 Here is the call graph for this function:| ilBadge::getValid | ( | ) | 
Definition at line 293 of file class.ilBadge.php.
References $valid.
Referenced by getPropertiesForStorage(), ILIAS\Badge\Tile\modalContent(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 412 of file class.ilBadge.php.
References setActive(), setConfiguration(), setCriteria(), setDescription(), setId(), setImage(), setParentId(), setTitle(), setTypeId(), and setValid().
Referenced by read().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::importImage | ( | string | $a_name, | 
| string | $a_file | ||
| ) | 
| BadgeException | 
Definition at line 346 of file class.ilBadge.php.
References copy(), getImagePath(), setImage(), and update().
 Here is the call graph for this function:| ilBadge::isActive | ( | ) | 
Definition at line 253 of file class.ilBadge.php.
References $active.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 544 of file class.ilBadge.php.
References getDescription(), ilBadgeHandler\getInstance(), and getTitle().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 400 of file class.ilBadge.php.
References $db, $ilDB, and importDBRow().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::setActive | ( | bool | $a_value | ) | 
Definition at line 248 of file class.ilBadge.php.
Referenced by clone(), copy(), and importDBRow().
 Here is the caller graph for this function:| ilBadge::setConfiguration | ( | array | $a_value = null | ) | 
Definition at line 298 of file class.ilBadge.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadge::setCriteria | ( | string | $a_value | ) | 
Definition at line 278 of file class.ilBadge.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadge::setDescription | ( | string | $a_value | ) | 
Definition at line 268 of file class.ilBadge.php.
Referenced by importDBRow().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 218 of file class.ilBadge.php.
Referenced by clone(), copy(), create(), and importDBRow().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 311 of file class.ilBadge.php.
Referenced by importDBRow(), importImage(), and uploadImage().
 Here is the caller graph for this function:| ilBadge::setParentId | ( | int | $a_id | ) | 
Definition at line 228 of file class.ilBadge.php.
Referenced by clone(), copy(), and importDBRow().
 Here is the caller graph for this function:| ilBadge::setTitle | ( | string | $a_value | ) | 
Definition at line 258 of file class.ilBadge.php.
Referenced by copy(), and importDBRow().
 Here is the caller graph for this function:| ilBadge::setTypeId | ( | string | $a_id | ) | 
Definition at line 238 of file class.ilBadge.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadge::setValid | ( | string | $a_value | ) | 
Definition at line 288 of file class.ilBadge.php.
Referenced by importDBRow().
 Here is the caller graph for this function:| ilBadge::update | ( | ) | 
Definition at line 450 of file class.ilBadge.php.
References $db, $ilDB, create(), getId(), and getPropertiesForStorage().
Referenced by create(), importImage(), and uploadImage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilBadge::uploadImage | ( | array | $a_upload_meta | ) | 
| BadgeException | 
Definition at line 324 of file class.ilBadge.php.
References Vendor\Package\$e, $path, getId(), getImagePath(), ilFileUtils\moveUploadedFile(), setImage(), and update().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 32 of file class.ilBadge.php.
Referenced by isActive().
      
  | 
  protected | 
Definition at line 37 of file class.ilBadge.php.
Referenced by getConfiguration().
      
  | 
  protected | 
Definition at line 38 of file class.ilBadge.php.
Referenced by getCriteria().
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 34 of file class.ilBadge.php.
Referenced by getDescription().
      
  | 
  protected | 
Definition at line 29 of file class.ilBadge.php.
      
  | 
  protected | 
Definition at line 35 of file class.ilBadge.php.
Referenced by getImage().
      
  | 
  protected | 
Definition at line 26 of file class.ilBadge.php.
Referenced by copy(), and getExtendedTypeCaption().
      
  | 
  protected | 
Definition at line 30 of file class.ilBadge.php.
Referenced by getParentId().
      
  | 
  protected | 
Definition at line 33 of file class.ilBadge.php.
Referenced by getTitle().
      
  | 
  protected | 
Definition at line 31 of file class.ilBadge.php.
Referenced by getTypeId().
      
  | 
  protected | 
Definition at line 36 of file class.ilBadge.php.
Referenced by getValid().