|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilBadge:Public Member Functions | |
| __construct (int $a_id=null, Container $container=null) | |
| clone (int $target_parent_obj_id) | |
| getTypeInstance () | |
| copy (int $a_new_parent_id, string $copy_suffix) | |
| setId (int $a_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 () | |
| setImage (?string $a_value) | |
| getImage () | |
| uploadImage (array $a_upload_meta) | |
| importImage (string $a_name, string $a_file) | |
| getImagePath (bool $a_full_path=true) | |
| create () | |
| update () | |
| delete () | |
| getParentMeta () | |
| deleteStaticFiles () | |
| getImageRid () | |
| setImageRid (?string $image_rid) | |
Static Public Member Functions | |
| static | getInstancesByParentId (int $a_parent_id, array $a_filter=null) |
| static | getInstancesByType (string $a_type_id) |
| static | getObjectInstances (?array $filter=null) |
| static | getExtendedTypeCaption (ilBadgeType $a_type) |
Protected Member Functions | |
| 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 | |
| ilDBInterface | $db |
| int | $id = 0 |
| int | $parent_id = 0 |
| string | $type_id = "" |
| bool | $active = false |
| string | $title = "" |
| string | $desc = "" |
| string | $image = "" |
| string | $image_rid = null |
| string | $valid = "" |
| array | $config = null |
| string | $criteria = "" |
Private Attributes | |
| ilLogger | $log |
| Services | $resource_storage |
Definition at line 24 of file class.ilBadge.php.
| ilBadge::__construct | ( | int | $a_id = null, |
| Container | $container = null |
||
| ) |
Definition at line 42 of file class.ilBadge.php.
References $container, $DIC, and read().
Here is the call graph for this function:| ilBadge::clone | ( | int | $target_parent_obj_id | ) |
Definition at line 121 of file class.ilBadge.php.
References create(), getId(), getImageRid(), setActive(), setId(), setImageRid(), and setParentId().
Here is the call graph for this function:| ilBadge::copy | ( | int | $a_new_parent_id, |
| string | $copy_suffix | ||
| ) |
Definition at line 148 of file class.ilBadge.php.
References create(), getId(), getImageRid(), getTitle(), setActive(), setId(), setImageRid(), setParentId(), setTitle(), and update().
Referenced by importImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::create | ( | ) |
Definition at line 450 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 489 of file class.ilBadge.php.
References $db, Vendor\Package\$e, $ilDB, ilBadgeAssignment\deleteByBadgeId(), deleteStaticFiles(), getId(), and getImageRid().
Here is the call graph for this function:| ilBadge::deleteStaticFiles | ( | ) |
Definition at line 588 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 323 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 300 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 290 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 597 of file class.ilBadge.php.
References $DIC, $lng, and ilBadgeType\getCaption().
Referenced by ILIAS\Badge\ilBadgeUserTableGUI\__construct(), ILIAS\Badge\ilBadgeTableGUI\getRecords(), ILIAS\Badge\ilObjectBadgeTableGUI\getRecords(), and ilBadgeManagementGUI\listBadges().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 395 of file class.ilBadge.php.
References $path.
Referenced by getImagePath().
Here is the caller graph for this function:| ilBadge::getId | ( | ) |
Definition at line 240 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 335 of file class.ilBadge.php.
References $image.
Referenced by ILIAS\Badge\ilBadgeImage\getImageFromResourceId(), getImagePath(), getPropertiesForStorage(), and ilBadgeManagementGUI\setBadgeFormValues().
Here is the caller graph for this function:| ilBadge::getImagePath | ( | bool | $a_full_path = true | ) |
Definition at line 379 of file class.ilBadge.php.
References getFilePath(), getId(), and getImage().
Referenced by ILIAS\Badge\ilBadgeImage\getImageFromResourceId(), importImage(), ilBadgeManagementGUI\setBadgeFormValues(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadge::getImageRid | ( | ) |
Definition at line 610 of file class.ilBadge.php.
References $image_rid.
Referenced by clone(), copy(), delete(), ILIAS\Badge\ilBadgeImage\getImageFromResourceId(), getPropertiesForStorage(), and ilBadgeManagementGUI\removeResourceStorageImage().
Here is the caller graph for this function:
|
static |
| array | null | $a_filter |
Definition at line 64 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ILIAS\Badge\ilBadgeUserTableGUI\__construct(), ilObjCourse\cloneObject(), ilBadgeManagementGUI\confirmDeleteBadges(), ilBadgeHandler\getAvailableManualBadges(), ilBadgeAssignment\getInstancesByParentId(), ILIAS\Badge\ilBadgeTableGUI\getRecords(), and ilBadgeManagementGUI\toggleBadges().
Here is the caller graph for this function:
|
static |
Definition at line 100 of file class.ilBadge.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeHandler\triggerEvaluation().
Here is the caller graph for this function:
|
static |
| array{type | string, title: string, object: string}|null $filter |
Definition at line 187 of file class.ilBadge.php.
References $DIC, $ilDB, and ilDBConstants\T_TEXT.
Referenced by ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ILIAS\Badge\ilObjectBadgeTableGUI\getRecords(), ILIAS\Badge\ilObjectBadgeTableGUI\renderTable(), and ilObjBadgeAdministrationGUI\toggleObjectBadges().
Here is the caller graph for this function:| ilBadge::getParentId | ( | ) |
Definition at line 250 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 540 of file class.ilBadge.php.
References ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectDataDeletionLog\get(), and getParentId().
Referenced by ilBadgePersonalTableGUI\getRecords(), 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 516 of file class.ilBadge.php.
References getConfiguration(), getCriteria(), getDescription(), getImage(), getImageRid(), 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 280 of file class.ilBadge.php.
References $title.
Referenced by copy(), getPropertiesForStorage(), ILIAS\Badge\Tile\image(), prepareJson(), ilBadgeManagementGUI\setBadgeFormValues(), and ILIAS\Badge\Tile\title().
Here is the caller graph for this function:| ilBadge::getTypeId | ( | ) |
Definition at line 260 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 139 of file class.ilBadge.php.
References $handler, ilBadgeHandler\getInstance(), and getTypeId().
Here is the call graph for this function:| ilBadge::getValid | ( | ) |
Definition at line 310 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 432 of file class.ilBadge.php.
References setActive(), setConfiguration(), setCriteria(), setDescription(), setId(), setImage(), setImageRid(), 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 365 of file class.ilBadge.php.
References copy(), getImagePath(), setImage(), and update().
Here is the call graph for this function:| ilBadge::isActive | ( | ) |
Definition at line 270 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 570 of file class.ilBadge.php.
References getDescription(), ilBadgeHandler\getInstance(), and getTitle().
Here is the call graph for this function:
|
protected |
Definition at line 420 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 265 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 315 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setCriteria | ( | string | $a_value | ) |
Definition at line 295 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setDescription | ( | string | $a_value | ) |
Definition at line 285 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setId | ( | int | $a_id | ) |
Definition at line 235 of file class.ilBadge.php.
Referenced by clone(), copy(), create(), and importDBRow().
Here is the caller graph for this function:| ilBadge::setImage | ( | ?string | $a_value | ) |
Definition at line 328 of file class.ilBadge.php.
Referenced by importDBRow(), importImage(), and uploadImage().
Here is the caller graph for this function:| ilBadge::setImageRid | ( | ?string | $image_rid | ) |
Definition at line 615 of file class.ilBadge.php.
References $image_rid.
Referenced by clone(), ilBadgeManagementGUI\cloneBadgeTemplate(), copy(), importDBRow(), and ILIAS\Badge\ilBadgeImage\processImageUpload().
Here is the caller graph for this function:| ilBadge::setParentId | ( | int | $a_id | ) |
Definition at line 245 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 275 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 255 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::setValid | ( | string | $a_value | ) |
Definition at line 305 of file class.ilBadge.php.
Referenced by importDBRow().
Here is the caller graph for this function:| ilBadge::update | ( | ) |
Definition at line 471 of file class.ilBadge.php.
References $db, $ilDB, create(), getId(), and getPropertiesForStorage().
Referenced by ilBadgeManagementGUI\cloneBadgeTemplate(), copy(), create(), importImage(), ILIAS\Badge\ilBadgeImage\processImageUpload(), 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 343 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 31 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 33 of file class.ilBadge.php.
Referenced by getDescription().
|
protected |
Definition at line 28 of file class.ilBadge.php.
|
protected |
Definition at line 34 of file class.ilBadge.php.
Referenced by getImage().
|
protected |
Definition at line 35 of file class.ilBadge.php.
Referenced by getImageRid(), and setImageRid().
|
private |
Definition at line 26 of file class.ilBadge.php.
|
protected |
Definition at line 29 of file class.ilBadge.php.
Referenced by getParentId().
|
private |
Definition at line 40 of file class.ilBadge.php.
|
protected |
Definition at line 32 of file class.ilBadge.php.
Referenced by getTitle().
|
protected |
Definition at line 30 of file class.ilBadge.php.
Referenced by getTypeId().
|
protected |
Definition at line 36 of file class.ilBadge.php.
Referenced by getValid().