Theia installation has been updated - September 10, 2011
Theia
Stats::MostProfileUpdatesInDays() « documentation » for developers
icon
Please help strengthen our documentation by rating items on how helpful they are, and by suggesting documentation, that we are missing and should focus on next.
posted on 18:28 - 29 August 2009 | posted by Lev

This method is part of Theia's Stats class.


Stats::MostProfileUpdatesInDays()

Purpose: To determine the total number of times members have recommended/invited others to join the site (this does *not* imply recruits, or have anything to do with people who actually end up joining the site)

Arguments: (str) user, (int) days

Return Value: (int) the number of times the specific member updated their profile within the given number of days || (array) an associative array containing the users' name (as its index) and the number of times they updated their profiles' within the given number of days

Usage: Here's an example of checking for the highest number of times Lev updated their profile in any 30 period (the days argument defaults to 30):

PHP CODE
$total Stats::MostProfileUpdatesInDays('lev'); 

Here's how we could retrieve an associate array of the number of the most times every member updated their profiles' within any 90 day period:

PHP CODE
$stats Stats::MostProfileUpdatesInDays(null90); 
post reply
Bookmark item @
bookmarkbookmarkbookmarkbookmarkbookmark