PartyListNear
in package
uses
TraitPartyInfo
Table of Contents
Properties
Methods
- __construct() : mixed
- getList() : string
- Shows same type of parties nearby
- getPartyInfoInstance() : PartyInfo
- getUpcomingFromUser() : string
- Three next events from an user except the recent
- getTplPartyRelated() : string
- party table small party_list_related.tpl was originally for orga's events
- getTplRelatedLoop() : string
Properties
$partyInfo
private
PartyInfo
$partyInfo
$partySQL
private
PartySQL
$partySQL
Methods
__construct()
public
__construct() : mixed
getList()
Shows same type of parties nearby
public
getList(array<string|int, mixed> $saThisParty[, int $nLimit = 3 ]) : string
Parameters
- $saThisParty : array<string|int, mixed>
-
- the party we are calling
- $nLimit : int = 3
Tags
Return values
stringgetPartyInfoInstance()
public
getPartyInfoInstance() : PartyInfo
Return values
PartyInfogetUpcomingFromUser()
Three next events from an user except the recent
public
getUpcomingFromUser(int $party_id, int $orga_id) : string
Returns a string of three parties, layouted with party_list_related.tpl.php
Parameters
- $party_id : int
- $orga_id : int
Tags
Return values
stringgetTplPartyRelated()
party table small party_list_related.tpl was originally for orga's events
private
getTplPartyRelated(string $svTemplatePart[, string $strInOut = '' ]) : string
Parameters
- $svTemplatePart : string
- $strInOut : string = ''
Tags
Return values
stringgetTplRelatedLoop()
private
getTplRelatedLoop(array<string|int, mixed> $saParty) : string
Parameters
- $saParty : array<string|int, mixed>