PartyList
in package
uses
TraitData, TraitPartyTimer
FinalYes
Table of Contents
Properties
- $getParas : array<string|int, mixed>
- $input : Input
- $pageTools : PageTools
Methods
- __construct() : mixed
- ajaxListGetter() : array<string|int, string>
- ajaxListMoreGetter() : array{'gburl': string, 'gbdata': string, "gbtitle: string"}
- getCalPreview() : array<string|int, mixed>
- getDataInstance() : Data
- getListParties() : array<string|int, mixed>
- Get a list of the parties
- getPartyTimerInstance() : PartyTimer
- handleSearchDateRedirect() : mixed
- outputRSS() : void
- fetchPartyList() : array<string|int, mixed>
- getListTpl() : PartyListCalDayTpl|PartyListDefTpl|PartyListIcalTpl|PartyListRssTpl
- shouldRedirect() : bool
Properties
$getParas
private
array<string|int, mixed>
$getParas
$input read-only
private
Input
$input
$pageTools
private
PageTools
$pageTools
Methods
__construct()
public
__construct(Input $input[, array<string|int, mixed> $getParas = [] ]) : mixed
Parameters
- $input : Input
- $getParas : array<string|int, mixed> = []
ajaxListGetter()
public
ajaxListGetter(string $file) : array<string|int, string>
Parameters
- $file : string
Return values
array<string|int, string>ajaxListMoreGetter()
public
ajaxListMoreGetter() : array{'gburl': string, 'gbdata': string, "gbtitle: string"}
Return values
array{'gburl': string, 'gbdata': string, "gbtitle: string"}getCalPreview()
public
getCalPreview() : array<string|int, mixed>
Return values
array<string|int, mixed>getDataInstance()
public
getDataInstance() : Data
Return values
DatagetListParties()
Get a list of the parties
public
getListParties([string $strTemplate = '_def' ]) : array<string|int, mixed>
Parameters
- $strTemplate : string = '_def'
Return values
array<string|int, mixed> —- [total] amount of parties, [list] of parties
getPartyTimerInstance()
public
getPartyTimerInstance() : PartyTimer
Return values
PartyTimerhandleSearchDateRedirect()
public
handleSearchDateRedirect() : mixed
outputRSS()
public
outputRSS() : void
fetchPartyList()
private
fetchPartyList(mixed $fileThis, array<string|int, mixed> $getParas) : array<string|int, mixed>
Parameters
- $fileThis : mixed
- $getParas : array<string|int, mixed>
Return values
array<string|int, mixed>getListTpl()
private
getListTpl(string $viewType) : PartyListCalDayTpl|PartyListDefTpl|PartyListIcalTpl|PartyListRssTpl
Parameters
- $viewType : string
Return values
PartyListCalDayTpl|PartyListDefTpl|PartyListIcalTpl|PartyListRssTplshouldRedirect()
private
shouldRedirect(string $formattedDate) : bool
Parameters
- $formattedDate : string