PartyTools
in package
uses
TraitData, TraitSeo, TraitPartyTimer
Read onlyYes
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- getDataInstance() : Data
- getPartyPhotosRndTpl() : string
- getPartyTimerInstance() : PartyTimer
- getSeoInstance() : Seo
- redirectOnWrongPartySeo() : void
- Checks the party-url and redirects if it's wrong
- togglePartyTimerWithMsg() : void
- writeMeetingPoint() : void
Properties
$htmlHeader
private
HtmlHeader
$htmlHeader
$user
private
User
$user
Methods
__construct()
public
__construct(HtmlHeader $htmlHeader, User $user) : mixed
Parameters
- $htmlHeader : HtmlHeader
- $user : User
getDataInstance()
public
getDataInstance() : Data
Return values
DatagetPartyPhotosRndTpl()
public
getPartyPhotosRndTpl() : string
Return values
stringgetPartyTimerInstance()
public
getPartyTimerInstance() : PartyTimer
Return values
PartyTimergetSeoInstance()
public
getSeoInstance() : Seo
Return values
SeoredirectOnWrongPartySeo()
Checks the party-url and redirects if it's wrong
public
redirectOnWrongPartySeo([string $strTarget = '' ]) : void
Parameters
- $strTarget : string = ''
-
- meetingpoint, reports, whocomes, invites, lift, photos, admin if empty it goes to details
togglePartyTimerWithMsg()
public
togglePartyTimerWithMsg(string $seoParty) : void
Parameters
- $seoParty : string
writeMeetingPoint()
public
writeMeetingPoint(array<string|int, mixed> $informData) : void
Parameters
- $informData : array<string|int, mixed>