/** * Get the latest site activity * * @param int $limit * @param int $userid * @param string $type blank or "count" or "query" * @return array|false */ public function getLatestActivity($limit = 0, $userid = 0, $type = '') { require_once LIBS . 'UserActivity.php'; $activity = new UserActivity(); return $activity->getLatestActivity($this, $limit, $userid, $type); }