PublicEvent
Table of Contents
Constants
-
ACCEPT
= 'accept'
-
ACTION
= 'action'
-
ACTION_ACCEPT
= '?' . self::ACTION . '=' . self::ACCEPT
-
ACTION_DECLINE
= '?' . self::ACTION . '=' . self::DECLINE
-
ACTION_ICS
= '?' . self::ACTION . '=' . self::ICS
-
DECLINE
= 'decline'
-
ICS
= 'ics'
-
PUBLIC_EVENT_PATH
= 'pub/calendar-event'
Methods
-
getDetailLink()
: string
-
getDetailLinkFromEvent()
: string|null
-
isHashValid()
: bool
-
prepareEventDescriptionForIcs()
: string
ACCEPT
public
mixed
ACCEPT
= 'accept'
ACTION
public
mixed
ACTION
= 'action'
ACTION_ACCEPT
public
mixed
ACTION_ACCEPT
= '?' . self::ACTION . '=' . self::ACCEPT
ACTION_DECLINE
public
mixed
ACTION_DECLINE
= '?' . self::ACTION . '=' . self::DECLINE
ACTION_ICS
public
mixed
ACTION_ICS
= '?' . self::ACTION . '=' . self::ICS
DECLINE
public
mixed
DECLINE
= 'decline'
ICS
public
mixed
ICS
= 'ics'
PUBLIC_EVENT_PATH
public
mixed
PUBLIC_EVENT_PATH
= 'pub/calendar-event'
getDetailLink()
public
static getDetailLink(int $eventId, int $userId, int $dateCreateTimestamp) : string
Parameters
-
$eventId
: int
-
-
$userId
: int
-
-
$dateCreateTimestamp
: int
-
getDetailLinkFromEvent()
public
static getDetailLinkFromEvent(Event $event) : string|null
Parameters
-
$event
: Event
-
Return values
string|null
isHashValid()
public
static isHashValid(Event $event, string|null $hash) : bool
Parameters
-
$event
: Event
-
-
$hash
: string|null
-
prepareEventDescriptionForIcs()
public
static prepareEventDescriptionForIcs(Event $event) : string
Parameters
-
$event
: Event
-