\MOD_visits

Build an array with the last visits on the member IdMember assumed it is the currently logged member if no IdMember is provided

Summary

Methods
Properties
Constants
__construct()
get()
BuildLastVisits()
RetrieveLastAcceptedProfilesWithAPicture()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_instance
N/A

Properties

$_instance

$_instance : \MOD_visits

Singleton instance

Type

\MOD_visits

Methods

__construct()

__construct()

get()

get() : \PApps

singleton getter

Returns

\PApps

BuildLastVisits()

BuildLastVisits( $pIdMember,  $quantity)

Retrieve the last visits on a profile.

only last visits of members with a picture are retrieved

Parameters

$pIdMember
$quantity

RetrieveLastAcceptedProfilesWithAPicture()

RetrieveLastAcceptedProfilesWithAPicture( $quantity)

Retrieve the 5 last accepted profiles with a picture

Parameters

$quantity