SPTUserFactory Class Reference

Collaboration diagram for SPTUserFactory:

Public Member Functions

 __construct ()
 Object constructor.
 GetTopContributors ($Limit=5)
 Get the users sorted by how many resources they have added or edited, starting with those who have added/edited the most.
 GetMostRecentContributors ($Limit=5)
 Get the users sorted by when they last added or edited a resource starting with those who added/edited a resource most recently.

List of all members.


Detailed Description

Definition at line 11 of file SPTUserFactory.php.

Inheritance diagram for SPTUserFactory:

Constructor & Destructor Documentation

SPTUserFactory::__construct (  )

Object constructor.

Definition at line 19 of file SPTUserFactory.php.

References UserFactory::$Session.


Member Function Documentation

SPTUserFactory::GetMostRecentContributors ( Limit = 5 )

Get the users sorted by when they last added or edited a resource starting with those who added/edited a resource most recently.

By default, the number of users returned is five.

Parameters:
$Limitthe maximum number of users to return

Definition at line 66 of file SPTUserFactory.php.

SPTUserFactory::GetTopContributors ( Limit = 5 )

Get the users sorted by how many resources they have added or edited, starting with those who have added/edited the most.

By default, the number of users returned is five.

Parameters:
$Limitthe maximum number of users to return

Definition at line 36 of file SPTUserFactory.php.


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