Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
Plugins.User.Arena.Users.AnArenaUser Class Reference

This class customizes the ASubscribedUser class for use with the various arena engines. More...

+ Inheritance diagram for Plugins.User.Arena.Users.AnArenaUser:

Public Member Functions

def __init__
 Constructor. More...
 
def init
 Initializer.
 
def fetch
 Fetch the user from the data source. More...
 
def has
 Determine whether or not the user has the specified right for the specified channel. More...
 
def ContentProvider
 Retrieve the content provider that is providing content to the user.
 
def Channel
 Retrieve the channel being viewed by the user.
 
def postsAuthored
 Retrieve the number of posts authored by the user.
 
def postsEdited
 Retrieve the number of posts edited by the user.
 
- Public Member Functions inherited from Plugins.User.SubscribedUsers.ASubscribedUser
def __init__
 Constructor. More...
 
def init
 Initializer.
 
def __del__
 Destructor.
 
def getSubscriptionsFor
 Retrieve the user's subscriptions for the specified channels. More...
 
def fetch
 Fetch the user from the data source. More...
 
def has
 Determine whether or not the user has the specified access right for the specified channel. More...
 
def hasAnyOf
 Determine whether or not the user has any of the specified access rights for the specified channel. More...
 
def subscriptionsCategory
 Retrieve the name of the category used to search for subscription information. More...
 
def Subscriptions
 Retrieve all subscriptions for the user. More...
 
def subscriptionFor
 Return the subscription that allows the user to access the specified channel. More...
 
- Public Member Functions inherited from Plugins.User.GroupedUsers.AGroupedUser
def __init__
 Construct a new grouped user instance. More...
 
def init
 Initializer.
 
def __del__
 Destructor.
 
def fetch
 Fetch the user from the data source. More...
 
def groupCategory
 Retrieve the name of the category used to search for group information. More...
 
- Public Member Functions inherited from Plugins.User.Users.AUser
def __init__
 Construct a new user instance. More...
 
def init
 Initializer.
 
def flush
 Flush changes made to the user record back to the data source. More...
 
def fetch
 Fetch the user record from the data source. More...
 
def meta
 Retrieve or set the dictionary of channel metadata, or a single item from the metadata.
 
def name
 Return the name of the user.
 

Detailed Description

This class customizes the ASubscribedUser class for use with the various arena engines.

Constructor & Destructor Documentation

def Plugins.User.Arena.Users.AnArenaUser.__init__ (   Self,
  fieldsValues = None,
  params 
)

Constructor.

In addition to the parameters expected by ASubscribedUser.__init__(), this routine expects params to contain the following items:

  • ContentProvider – A reference to the content provider that has requested the user record.

Member Function Documentation

def Plugins.User.Arena.Users.AnArenaUser.fetch (   Self,
  userName 
)

Fetch the user from the data source.

def Plugins.User.Arena.Users.AnArenaUser.has (   Self,
  thisRight,
  thisChannel 
)

Determine whether or not the user has the specified right for the specified channel.


The documentation for this class was generated from the following file: