Description Details Fields Author(s) See Also Examples
Provides a model representing a privilege from a StackExchange site
The sePrivilege
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 sePrivilegeFactory
. Accessor set &
get methods are provided for every field using reference class
$accessors()
methodology (see setRefClass
). As
an example, the description
field could be accessed with
object$getDescription()
and object$setDescription()
.
shortDescription
:Brief description of privilege
description
:In depth description of privilege
reputation
:Reputation required for privilege
site
:StackExchange site this badge belongs to
Jeff Gentry
1 2 | zz <- getPrivileges(5)
sapply(zz, function(x) x$getDescription())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.