|
ILIAS
release_8 Revision v8.23
|
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 115 of file class.ilBadge.php.
References $img, 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 142 of file class.ilBadge.php.
References $img, $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 431 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 470 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 564 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 308 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 285 of file class.ilBadge.php.
References $criteria.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getDescription | ( | ) |
Definition at line 275 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 573 of file class.ilBadge.php.
References $DIC, $lng, ilBadgeType\getCaption(), and ilLanguage\txt().
Referenced by ilBadgeTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilObjectBadgeTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), and ilBadgeManagementGUI\listBadges().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 377 of file class.ilBadge.php.
References $path.
Referenced by getImagePath().
Here is the caller graph for this function:| ilBadge::getId | ( | ) |
Definition at line 225 of file class.ilBadge.php.
References $id.
Referenced by clone(), copy(), ilBadgeHandler\countStaticBadgeInstances(), create(), delete(), ilBadgeHandler\getBadgePath(), getImagePath(), update(), and uploadImage().
Here is the caller graph for this function:| ilBadge::getImage | ( | ) |
Definition at line 318 of file class.ilBadge.php.
References $image.
Referenced by getImagePath(), getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getImagePath | ( | bool | $a_full_path = true | ) |
Definition at line 362 of file class.ilBadge.php.
References getFilePath(), getId(), and getImage().
Referenced by clone(), copy(), delete(), importImage(), ilBadgeManagementGUI\setBadgeFormValues(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $a_parent_id | |
| array | null | $a_filter |
Definition at line 57 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 |
| string | $a_type_id |
Definition at line 94 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 168 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 235 of file class.ilBadge.php.
References $parent_id.
Referenced by create(), and getParentMeta().
Here is the caller graph for this function:| ilBadge::getParentMeta | ( | ) |
Definition at line 516 of file class.ilBadge.php.
References ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectDataDeletionLog\get(), and getParentId().
Referenced by ilBadgePersonalTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 493 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 265 of file class.ilBadge.php.
References $title.
Referenced by copy(), getPropertiesForStorage(), prepareJson(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getTypeId | ( | ) |
Definition at line 245 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 133 of file class.ilBadge.php.
References ilBadgeHandler\getInstance(), and getTypeId().
Here is the call graph for this function:| ilBadge::getValid | ( | ) |
Definition at line 295 of file class.ilBadge.php.
References $valid.
Referenced by getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:
|
protected |
Definition at line 414 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 348 of file class.ilBadge.php.
References copy(), getImagePath(), setImage(), and update().
Here is the call graph for this function:| ilBadge::isActive | ( | ) |
Definition at line 255 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 546 of file class.ilBadge.php.
References getDescription(), ilBadgeHandler\getInstance(), and getTitle().
Here is the call graph for this function:
|
protected |
Definition at line 402 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 250 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 300 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setCriteria | ( | string | $a_value | ) |
Definition at line 280 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setDescription | ( | string | $a_value | ) |
Definition at line 270 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 220 of file class.ilBadge.php.
Referenced by clone(), copy(), create(), and importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 313 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 230 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 260 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 240 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setValid | ( | string | $a_value | ) |
Definition at line 290 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::update | ( | ) |
Definition at line 452 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 326 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().