Docs Goabase

PartyTools
in package
uses TraitSeo, TraitUser

Table of Contents

Properties

$PID  : int
$saParty  : array<string|int, mixed>
$user  : User

Methods

__construct()  : mixed
getPartyInfoTpl()  : string
getPartyPhotosRndTpl()  : string
getSeoInstance()  : Seo
getUserInstance()  : User
getUserOrga()  : array<string|int, mixed>
Define $saUserOrga
redirectOnWrongPartySeo()  : void
Checks the party-url and redirects if it's wrong
setVisitedToSession()  : void
togglePartyTimerWithMsg()  : void

Properties

$saParty

private array<string|int, mixed> $saParty

Methods

__construct()

public __construct([array<string|int, mixed> $saParty = [] ][, int $PID = 0 ]) : mixed
Parameters
$saParty : array<string|int, mixed> = []
$PID : int = 0

getPartyInfoTpl()

public getPartyInfoTpl(string $type) : string
Parameters
$type : string
Return values
string

getPartyPhotosRndTpl()

public getPartyPhotosRndTpl() : string
Return values
string

getUserOrga()

Define $saUserOrga

public getUserOrga(int $orgaUserId) : array<string|int, mixed>
Parameters
$orgaUserId : int
Return values
array<string|int, mixed>

redirectOnWrongPartySeo()

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

setVisitedToSession()

public setVisitedToSession() : void

togglePartyTimerWithMsg()

public togglePartyTimerWithMsg(string $seoParty) : void
Parameters
$seoParty : string
Tags
throws
Exception

        
On this page

Search results