class CEventUserHelperHandler extends 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, $route = true)

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 335
__construct($event)

Parameters

$event

at line 508
getContentId()

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

at line 514
getType()

Returns the event url.

at line 459
addSubmenus($view)

Sets the respective submenus in the view

Parameters

$view

at line 428
exists()

Determines whether the current event exists

at line 406
browsable()

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

at line 413
creatable()

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

at line 433
manageable()

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

at line 519
isAllowed()

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

at line 365
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
$route

at line 401
isPublic()

Determines whether or not the current event is public or private

at line 355
showCategories()

Determines whether to show categories or not.

Retrieves the redirect link after an event is ignored.

at line 350
getContentTypes()

Retrieves the events to be shown

at line 340
showPrint()

Determines whether to show print event or not

at line 345
showExport()

Determines whether to show event export or not

in CEventHelperHandler 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.

in CEventHelperHandler at line 131
bool hasInvitation()

Determines if the current event should display the invitation details

Return Value

bool Whether the current event requires invitation

in CEventHelperHandler at line 141
isExpired()