ICalFileGenerator
in package
Read onlyYes
FinalYes
Table of Contents
Constants
- CONTENT_TYPE = 'text/calendar; charset=utf-8'
- FILE_PREFIX = 'goabase_party_'
Properties
Methods
- __construct() : mixed
- generate() : void
- generateAllPartiesFile() : void
- generateSinglePartyFile() : void
- getAllPartiesFilename() : string
- getSinglePartyFilename() : string
- setHeaders() : void
Constants
CONTENT_TYPE
private
mixed
CONTENT_TYPE
= 'text/calendar; charset=utf-8'
FILE_PREFIX
private
mixed
FILE_PREFIX
= 'goabase_party_'
Properties
$htmlHeader
private
HtmlHeader
$htmlHeader
$partyList
private
PartyList
$partyList
$partyListIcalTpl
private
PartyListIcalTpl
$partyListIcalTpl
Methods
__construct()
public
__construct(PartyListIcalTpl $partyListIcalTpl, PartyList $partyList, HtmlHeader $htmlHeader) : mixed
Parameters
- $partyListIcalTpl : PartyListIcalTpl
- $partyList : PartyList
- $htmlHeader : HtmlHeader
generate()
public
generate([int $partyId = 0 ]) : void
Parameters
- $partyId : int = 0
generateAllPartiesFile()
private
generateAllPartiesFile() : void
generateSinglePartyFile()
private
generateSinglePartyFile(int $partyId) : void
Parameters
- $partyId : int
getAllPartiesFilename()
private
getAllPartiesFilename() : string
Return values
stringgetSinglePartyFilename()
private
getSinglePartyFilename(int $partyId) : string
Parameters
- $partyId : int
Return values
stringsetHeaders()
private
setHeaders() : void