class CEventHelperHandler


Located at : UKNOWVA_ROOT/components/com_community/helpers/event.php

Constants

PRIVACY_PUBLIC

PRIVACY_MEMBERS

PRIVACY_FRIENDS

PRIVACY_PRIVATE

Methods

__construct($event)

No description

getContentId()

Returns the unique identifier for the event. E.g group's id.

getType()

Returns the event url.

addSubmenus($view)

Sets the respective submenus in the view

exists()

Determines whether the current event exists

browsable()

Determines whether the current user is allowed to browse the event or not.

creatable()

Determines whether the current user is allowed to create an event or not.

manageable()

Determines whether the current user is allowed to manage an event.

isAllowed()

Determines whether the current user is allowed to access an event or not.

getActivity($command, $actor, $target, $content, $cid, $app)

Returns a stdclass object for activity so that the event would be able to add it.

getFormattedLink($raw, $xhtml = true, $external = false)

Retrieves the url for the specific event

isPublic()

Determines whether or not the current event is public or private

showCategories()

Determines whether to show categories or not.

getIgnoreRedirectLink()

Retrieves the redirect link after an event is ignored.

getContentTypes()

Retrieves the events to be shown

showPrint()

Determines whether to show print event or not

showExport()

Determines whether to show event export or not

bool
hasPrivacy()

Determines if the current event should display the privacy details

bool
hasInvitation()

Determines if the current event should display the invitation details

isExpired()

No description

Details

at line 23
__construct($event)

Parameters

$event

at line 34
abstract getContentId()

Returns the unique identifier for the event. E.g group's id.

at line 39
abstract getType()

Returns the event url.

at line 44
abstract addSubmenus($view)

Sets the respective submenus in the view

Parameters

$view

at line 49
abstract exists()

Determines whether the current event exists

at line 54
abstract browsable()

Determines whether the current user is allowed to browse the event or not.

at line 59
abstract creatable()

Determines whether the current user is allowed to create an event or not.

at line 64
abstract manageable()

Determines whether the current user is allowed to manage an event.

at line 69
abstract isAllowed()

Determines whether the current user is allowed to access an event or not.

at line 74
abstract getActivity($command, $actor, $target, $content, $cid, $app)

Returns a stdclass object for activity so that the event would be able to add it.

Parameters

$command
$actor
$target
$content
$cid
$app

Retrieves the url for the specific event

Parameters

$raw
$xhtml
$external

at line 84
abstract isPublic()

Determines whether or not the current event is public or private

at line 89
abstract showCategories()

Determines whether to show categories or not.

Retrieves the redirect link after an event is ignored.

at line 99
abstract getContentTypes()

Retrieves the events to be shown

at line 104
abstract showPrint()

Determines whether to show print event or not

at line 109
abstract showExport()

Determines whether to show event export or not

at line 116
bool hasPrivacy()

Determines if the current event should display the privacy details

Return Value

bool Whether the current event requires privacy or not.

at line 131
bool hasInvitation()

Determines if the current event should display the invitation details

Return Value

bool Whether the current event requires invitation

at line 141
isExpired()