ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | 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 | 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 | |
$badge_id | |
$user_id | |
$tstamp | |
$awarded_by | |
$pos | |
$stored | |
Definition at line 12 of file class.ilBadgeAssignment.php.
ilBadgeAssignment::__construct | ( | $a_badge_id = null , |
|
$a_user_id = null |
|||
) |
Definition at line 21 of file class.ilBadgeAssignment.php.
References read(), setBadgeId(), and setUserId().
|
protected |
Definition at line 372 of file class.ilBadgeAssignment.php.
Referenced by prepareJson().
|
static |
Definition at line 445 of file class.ilBadgeAssignment.php.
Referenced by ilBadgeProfileGUI\saveSettings().
ilBadgeAssignment::delete | ( | ) |
Definition at line 237 of file class.ilBadgeAssignment.php.
References $ilDB, deleteStaticFiles(), getBadgeId(), and getUserId().
|
static |
Definition at line 262 of file class.ilBadgeAssignment.php.
Referenced by ilBadge\delete().
|
static |
Definition at line 270 of file class.ilBadgeAssignment.php.
|
static |
Definition at line 254 of file class.ilBadgeAssignment.php.
Referenced by ilObjUser\delete().
ilBadgeAssignment::deleteStaticFiles | ( | ) |
Definition at line 436 of file class.ilBadgeAssignment.php.
References $path, and ilBadgeHandler\getInstance().
Referenced by delete().
|
static |
Definition at line 108 of file class.ilBadgeAssignment.php.
Referenced by ilBadgeManagementGUI\assignBadge(), ilBadgeHandler\sendNotification(), and ilBadgeHandler\triggerEvaluation().
|
static |
Definition at line 96 of file class.ilBadgeAssignment.php.
Referenced by ilBadgeManagementGUI\confirmDeassignBadge().
ilBadgeAssignment::getAwardedBy | ( | ) |
Definition at line 154 of file class.ilBadgeAssignment.php.
References $awarded_by.
Referenced by getPropertiesForStorage().
ilBadgeAssignment::getBadgeId | ( | ) |
Definition at line 124 of file class.ilBadgeAssignment.php.
References $badge_id.
Referenced by delete(), ilBadgeHandler\getInstancePath(), prepareJson(), and store().
ilBadgeAssignment::getImagePath | ( | ilBadge | $a_badge | ) |
Definition at line 361 of file class.ilBadgeAssignment.php.
References ilBadge\getImagePath(), and ilBadgeHandler\getInstance().
Referenced by prepareJson().
|
static |
Definition at line 52 of file class.ilBadgeAssignment.php.
References $ilDB, $res, $row, and array.
Referenced by ilBadgeManagementGUI\confirmDeleteBadges(), and ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges().
|
static |
Definition at line 70 of file class.ilBadgeAssignment.php.
References $ilDB, $res, $row, array, and ilBadge\getInstancesByParentId().
Referenced by ilBadgeUserTableGUI\getItems().
|
static |
Definition at line 33 of file class.ilBadgeAssignment.php.
References $ilDB, $res, $row, and array.
Referenced by ilPublicUserProfileGUI\getEmbeddable(), ilBadgePersonalTableGUI\getItems(), ilBadgeProfileGUI\listBadges(), and ilPersonalProfileGUI\showPublicProfileFields().
ilBadgeAssignment::getPosition | ( | ) |
Definition at line 168 of file class.ilBadgeAssignment.php.
References $pos.
Referenced by getPropertiesForStorage().
|
protected |
Definition at line 202 of file class.ilBadgeAssignment.php.
References array, getAwardedBy(), getPosition(), getTimestamp(), and time.
Referenced by store().
ilBadgeAssignment::getStaticUrl | ( | ) |
Definition at line 420 of file class.ilBadgeAssignment.php.
References $path, $url, ilBadgeHandler\getInstance(), and prepareJson().
ilBadgeAssignment::getTimestamp | ( | ) |
Definition at line 144 of file class.ilBadgeAssignment.php.
References $tstamp.
Referenced by getPropertiesForStorage(), and prepareJson().
ilBadgeAssignment::getUserId | ( | ) |
Definition at line 134 of file class.ilBadgeAssignment.php.
References $user_id.
Referenced by delete(), ilBadgeHandler\getInstancePath(), prepareJson(), and store().
|
protected |
Definition at line 178 of file class.ilBadgeAssignment.php.
References setAwardedBy(), setBadgeId(), setPosition(), setTimestamp(), and setUserId().
Referenced by read().
|
protected |
Definition at line 308 of file class.ilBadgeAssignment.php.
References ilBadgeProfileGUI\BACKPACK_EMAIL, bakeImage(), getBadgeId(), getImagePath(), ilBadgeHandler\getInstance(), getTimestamp(), and getUserId().
Referenced by getStaticUrl().
|
protected |
Definition at line 188 of file class.ilBadgeAssignment.php.
References $ilDB, $row, and importDBRow().
Referenced by __construct().
ilBadgeAssignment::setAwardedBy | ( | $a_id | ) |
Definition at line 149 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
|
protected |
Definition at line 119 of file class.ilBadgeAssignment.php.
Referenced by __construct(), and importDBRow().
ilBadgeAssignment::setPosition | ( | $a_value | ) |
Definition at line 159 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
|
protected |
Definition at line 139 of file class.ilBadgeAssignment.php.
Referenced by importDBRow().
|
protected |
Definition at line 129 of file class.ilBadgeAssignment.php.
Referenced by __construct(), and importDBRow().
ilBadgeAssignment::store | ( | ) |
Definition at line 211 of file class.ilBadgeAssignment.php.
References $ilDB, array, getBadgeId(), getPropertiesForStorage(), and getUserId().
Referenced by ilBadgeHandler\triggerEvaluation().
|
static |
Definition at line 278 of file class.ilBadgeAssignment.php.
Referenced by ilPersonalProfileGUI\savePublicProfile().
|
protected |
Definition at line 17 of file class.ilBadgeAssignment.php.
Referenced by getAwardedBy().
|
protected |
Definition at line 14 of file class.ilBadgeAssignment.php.
Referenced by getBadgeId().
|
protected |
Definition at line 18 of file class.ilBadgeAssignment.php.
Referenced by getPosition().
|
protected |
Definition at line 19 of file class.ilBadgeAssignment.php.
|
protected |
Definition at line 16 of file class.ilBadgeAssignment.php.
Referenced by getTimestamp().
|
protected |
Definition at line 15 of file class.ilBadgeAssignment.php.
Referenced by getUserId().