Docs Goabase

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

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
throws
Exception
Return values
string

getIgnoreBoth()

public getIgnoreBoth() : int
Return values
int

getIgnoreID()

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
see
Buddy::getIgnoreMeID
see
Buddy::makeSession
Return values
int
  • id of user

getIgnoreMeID()

Checks via session if this account ignores me as visitor

public getIgnoreMeID() : int
Tags
see
getIgnoreID
Return values
int

getIgnoreOneOfBoth()

public getIgnoreOneOfBoth() : bool
Return values
bool

getIgnoreSince()

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
string

getOnSameParties()

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
string

getPlinkID()

Die ID

public getPlinkID() : int
Return values
int

getPublicFriendsIDs()

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|string

getUserIdsFromSQL()

public getUserIdsFromSQL(string $strSQL) : string
Parameters
$strSQL : string
Return values
string

isMemberToMember()

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

        
On this page

Search results