Buddy
in package
uses
TraitUser
Table of Contents
Properties
- $userPublicID : int
- $env : array<string|int, mixed>
- $user : User
Methods
- __construct() : mixed
- cntMy() : int
- Zaehlt die User, auf dessen Freundesliste man ist
- getBothOnList() : string
- getIgnoreBoth() : int
- getIgnoreID() : int
- Checks via session if I ignore this user (false) or other users ignore me (true)
- getIgnoreMeID() : int
- Checks via session if this account ignores me as visitor
- getIgnoreOneOfBoth() : bool
- getIgnoreSince() : string
- Get's the date since the member is ignored
- getMyIDs() : string
- gibt IDs zurück, bei denen ich freund bin
- getOnSameParties() : string
- Holt buddy-ids, die eine gleiche party auf dem timer haben also alle, mit denen man sich treffen koennte
- getPlinkID() : int
- Die ID
- getPublicFriendsIDs() : array<string|int, mixed>
- Alle IDs, auf deren oeffentlicher Freundesliste jemand ist
- getPublicIDs() : int|string
- gibt freunde-ids eines users zurueck
- getUserIdsFromSQL() : string
- getUserInstance() : User
- isMemberToMember() : int
- Gibt flag_friend in einem array zurück Prüft, ob User2 ein freund von user1 ist
Properties
$userPublicID
public
int
$userPublicID
$env
private
array<string|int, mixed>
$env
$user
private
User
$user
Methods
__construct()
public
__construct([int $nUserPublicID = 0 ]) : mixed
Parameters
- $nUserPublicID : int = 0
cntMy()
Zaehlt die User, auf dessen Freundesliste man ist
public
cntMy() : int
Return values
int —Anzahl
getBothOnList()
public
getBothOnList(array<string|int, mixed> $saUserPublic) : string
Parameters
- $saUserPublic : array<string|int, mixed>
Tags
Return values
stringgetIgnoreBoth()
public
getIgnoreBoth() : int
Return values
intgetIgnoreID()
Checks via session if I ignore this user (false) or other users ignore me (true)
public
getIgnoreID([bool $bMySelf = false ]) : int
Parameters
- $bMySelf : bool = false
Tags
Return values
int —- id of user
getIgnoreMeID()
Checks via session if this account ignores me as visitor
public
getIgnoreMeID() : int
Tags
Return values
intgetIgnoreOneOfBoth()
public
getIgnoreOneOfBoth() : bool
Return values
boolgetIgnoreSince()
Get's the date since the member is ignored
public
getIgnoreSince([bool $bMeIgno = false ]) : string
Parameters
- $bMeIgno : bool = false
-
- if true get's the igno date about me
Return values
string —- date in ISO
getMyIDs()
gibt IDs zurück, bei denen ich freund bin
public
getMyIDs() : string
Return values
stringgetOnSameParties()
Holt buddy-ids, die eine gleiche party auf dem timer haben also alle, mit denen man sich treffen koennte
public
getOnSameParties(string $strUserIDs) : string
Parameters
- $strUserIDs : string
Return values
stringgetPlinkID()
Die ID
public
getPlinkID() : int
Return values
intgetPublicFriendsIDs()
Alle IDs, auf deren oeffentlicher Freundesliste jemand ist
public
getPublicFriendsIDs([array<string|int, mixed> $saAtt = [] ]) : array<string|int, mixed>
Parameters
- $saAtt : array<string|int, mixed> = []
Return values
array<string|int, mixed>getPublicIDs()
gibt freunde-ids eines users zurueck
public
getPublicIDs() : int|string
Return values
int|stringgetUserIdsFromSQL()
public
getUserIdsFromSQL(string $strSQL) : string
Parameters
- $strSQL : string
Return values
stringgetUserInstance()
public
getUserInstance() : User
Return values
UserisMemberToMember()
Gibt flag_friend in einem array zurück Prüft, ob User2 ein freund von user1 ist
public
isMemberToMember(int $nUserID1, int $nUserID2) : int
Parameters
- $nUserID1 : int
- $nUserID2 : int
Return values
int —- id