Description Details Fields Author(s) See Also Examples
Provides a model representing a badge from a StackExchange site
The seBadge class is implemented as a reference class. An
instance of a generator for this class is provided as a convenience to
the user as it is configured to handle most standard cases. To access
this generator, use the object seBadgeFactory. Accessor set &
get methods are provided for every field using reference class
$accessors() methodology (see setRefClass). As
an example, the name field could be accessed with
object$getName() and object$setName().
badgeID:Internal ID of the badge
rank:The ranking of the badge, e.g. gold, silver
name:The name of the badge
description:A longer description of the badge
awardCount:The number of times this badge has been awarded
tagBased:Logical, is this badge tag based?
site:StackExchange site this badge belongs to
Jeff Gentry
allBadges, nameBadges,
tagBadges, badgeRecipients,
setRefClass
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.