Search:

# CWIS Developers Documentation

- Main Page
- Classes
- Files

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# SPTUserFactory Class Reference

Inheritance diagram for SPTUserFactory:

[legend]
Collaboration diagram for SPTUserFactory:

[legend]
List of all members.

## 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.

## Detailed Description

Definition at line 11 of file SPTUserFactory.php.

## 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:

  | $Limit | the 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:

  | $Limit | the 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:

- SPTUserFactory.php