|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilBadgeAssignment. More...
Collaboration diagram for ilBadgeAssignment:Public Member Functions | |
| __construct ($a_badge_id=null, $a_user_id=null) | |
| getBadgeId () | |
| getUserId () | |
| getTimestamp () | |
| setAwardedBy ($a_id) | |
| getAwardedBy () | |
| setPosition ($a_value) | |
| getPosition () | |
| store () | |
| delete () | |
| getImagePath (ilBadge $a_badge) | |
| getStaticUrl () | |
| deleteStaticFiles () | |
Static Public Member Functions | |
| static | getNewCounter (int $a_user_id) |
| Get new counter. More... | |
| static | getLatestTimestamp (int $a_user_id) |
| Get latest badge. More... | |
| static | getInstancesByUserId ($a_user_id) |
| static | getInstancesByBadgeId ($a_badge_id) |
| static | getInstancesByParentId ($a_parent_obj_id) |
| static | getAssignedUsers ($a_badge_id) |
| static | exists ($a_badge_id, $a_user_id) |
| static | deleteByUserId ($a_user_id) |
| static | deleteByBadgeId ($a_badge_id) |
| static | deleteByParentId ($a_parent_obj_id) |
| static | updatePositions ($a_user_id, array $a_positions) |
| static | getBadgesForUser ($a_user_id, $a_ts_from, $a_ts_to) |
| Get badges for user. More... | |
| static | clearBadgeCache ($a_user_id) |
Protected Member Functions | |
| setBadgeId ($a_value) | |
| setUserId ($a_value) | |
| setTimestamp ($a_value) | |
| importDBRow (array $a_row) | |
| read ($a_badge_id, $a_user_id) | |
| getPropertiesForStorage () | |
| prepareJson ($a_url) | |
| bakeImage ($a_baked_image_path, $a_badge_image_path, $a_assertion_url) | |
Protected Attributes | |
| $db | |
| $badge_id | |
| $user_id | |
| $tstamp | |
| $awarded_by | |
| $pos | |
| $stored | |
Class ilBadgeAssignment.
Definition at line 10 of file class.ilBadgeAssignment.php.
| ilBadgeAssignment::__construct | ( | $a_badge_id = null, |
|
$a_user_id = null |
|||
| ) |
Definition at line 24 of file class.ilBadgeAssignment.php.
References $DIC, read(), setBadgeId(), and setUserId().
Here is the call graph for this function:
|
protected |
Definition at line 444 of file class.ilBadgeAssignment.php.
|
static |
Definition at line 507 of file class.ilBadgeAssignment.php.
Referenced by ilBadgeProfileGUI\saveSettings().
Here is the caller graph for this function:| ilBadgeAssignment::delete | ( | ) |
Definition at line 295 of file class.ilBadgeAssignment.php.
References $db, $ilDB, deleteStaticFiles(), getBadgeId(), and getUserId().
Here is the call graph for this function:
|
static |
Definition at line 318 of file class.ilBadgeAssignment.php.
Referenced by ilBadge\delete().
Here is the caller graph for this function:
|
static |
Definition at line 325 of file class.ilBadgeAssignment.php.
|
static |
Definition at line 311 of file class.ilBadgeAssignment.php.
Referenced by ilObjUser\delete().
Here is the caller graph for this function:| ilBadgeAssignment::deleteStaticFiles | ( | ) |
Definition at line 499 of file class.ilBadgeAssignment.php.
References ilBadgeHandler\getInstance().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 172 of file class.ilBadgeAssignment.php.
Referenced by ilBadgeManagementGUI\assignBadge(), ilBadgeHandler\sendNotification(), and ilBadgeHandler\triggerEvaluation().
Here is the caller graph for this function:
|
static |
Definition at line 161 of file class.ilBadgeAssignment.php.
References $res.
Referenced by ilBadgeManagementGUI\confirmDeassignBadge().
Here is the caller graph for this function:| ilBadgeAssignment::getAwardedBy | ( | ) |
Definition at line 218 of file class.ilBadgeAssignment.php.
References $awarded_by.
Referenced by getPropertiesForStorage().
Here is the caller graph for this function:| ilBadgeAssignment::getBadgeId | ( | ) |
Definition at line 188 of file class.ilBadgeAssignment.php.
References $badge_id.
Referenced by delete(), ilBadgeHandler\getInstancePath(), prepareJson(), and store().
Here is the caller graph for this function:
|
static |
Get badges for user.
| int | $a_user_id | |
| int | $a_ts_from | |
| int | $a_ts_to |
Definition at line 359 of file class.ilBadgeAssignment.php.
References $db, $DIC, and $res.
Referenced by ilBadgeLearningHistoryProvider\getEntries().
Here is the caller graph for this function:| ilBadgeAssignment::getImagePath | ( | ilBadge | $a_badge | ) |
Definition at line 433 of file class.ilBadgeAssignment.php.
References ilBadge\getImagePath(), and ilBadgeHandler\getInstance().
Here is the call graph for this function:
|
static |
Definition at line 117 of file class.ilBadgeAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilBadgeManagementGUI\confirmDeleteBadges(), and ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges().
Here is the caller graph for this function:
|
static |
Definition at line 136 of file class.ilBadgeAssignment.php.
References $DIC, $ilDB, $res, and ilBadge\getInstancesByParentId().
Referenced by ilBadgeUserTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 96 of file class.ilBadgeAssignment.php.
References $DIC, $ilDB, and $res.
Referenced by ilPublicUserProfileGUI\getEmbeddable(), ilBadgePersonalTableGUI\getItems(), ilBadgeProfileGUI\listBadges(), and ilPersonalProfileGUI\showPublicProfileFields().
Here is the caller graph for this function:
|
static |
Get latest badge.
| int | $a_user_id |
Definition at line 80 of file class.ilBadgeAssignment.php.
Referenced by ILIAS\Badge\GlobalScreen\BadgeNotificationProvider\getNotifications().
Here is the caller graph for this function:
|
static |
Get new counter.
| int | $a_user_id |
Definition at line 44 of file class.ilBadgeAssignment.php.
Referenced by ILIAS\Badge\GlobalScreen\BadgeNotificationProvider\getNotifications().
Here is the caller graph for this function:| ilBadgeAssignment::getPosition | ( | ) |
Definition at line 231 of file class.ilBadgeAssignment.php.
References $pos.
Referenced by getPropertiesForStorage().
Here is the caller graph for this function:
|
protected |
Definition at line 264 of file class.ilBadgeAssignment.php.
References getAwardedBy(), getPosition(), and getTimestamp().
Referenced by store().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadgeAssignment::getStaticUrl | ( | ) |
Definition at line 485 of file class.ilBadgeAssignment.php.
References $url, ilBadgeHandler\getInstance(), and ILIAS_HTTP_PATH.
Here is the call graph for this function:| ilBadgeAssignment::getTimestamp | ( | ) |
Definition at line 208 of file class.ilBadgeAssignment.php.
References $tstamp.
Referenced by getPropertiesForStorage().
Here is the caller graph for this function:| ilBadgeAssignment::getUserId | ( | ) |
Definition at line 198 of file class.ilBadgeAssignment.php.
References $user_id.
Referenced by delete(), ilBadgeHandler\getInstancePath(), prepareJson(), and store().
Here is the caller graph for this function:
|
protected |
Definition at line 241 of file class.ilBadgeAssignment.php.
References setAwardedBy(), setBadgeId(), setPosition(), setTimestamp(), and setUserId().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 384 of file class.ilBadgeAssignment.php.
References ilBadgeProfileGUI\BACKPACK_EMAIL, getBadgeId(), ilBadgeHandler\getInstance(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 251 of file class.ilBadgeAssignment.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:| ilBadgeAssignment::setAwardedBy | ( | $a_id | ) |
Definition at line 213 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 183 of file class.ilBadgeAssignment.php.
Referenced by __construct(), and importDBRow().
Here is the caller graph for this function:| ilBadgeAssignment::setPosition | ( | $a_value | ) |
Definition at line 223 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 203 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
Here is the caller graph for this function:
|
protected |
Definition at line 193 of file class.ilBadgeAssignment.php.
Referenced by __construct(), and importDBRow().
Here is the caller graph for this function:| ilBadgeAssignment::store | ( | ) |
Definition at line 273 of file class.ilBadgeAssignment.php.
References $db, $ilDB, $keys, getBadgeId(), getPropertiesForStorage(), and getUserId().
Here is the call graph for this function:
|
static |
Definition at line 332 of file class.ilBadgeAssignment.php.
Referenced by ilPersonalProfileGUI\savePublicProfile().
Here is the caller graph for this function:
|
protected |
Definition at line 20 of file class.ilBadgeAssignment.php.
Referenced by getAwardedBy().
|
protected |
Definition at line 17 of file class.ilBadgeAssignment.php.
Referenced by getBadgeId().
|
protected |
Definition at line 15 of file class.ilBadgeAssignment.php.
Referenced by delete(), getBadgesForUser(), getLatestTimestamp(), getNewCounter(), read(), and store().
|
protected |
Definition at line 21 of file class.ilBadgeAssignment.php.
Referenced by getPosition().
|
protected |
Definition at line 22 of file class.ilBadgeAssignment.php.
|
protected |
Definition at line 19 of file class.ilBadgeAssignment.php.
Referenced by getTimestamp().
|
protected |
Definition at line 18 of file class.ilBadgeAssignment.php.
Referenced by getUserId().