class CalendarEvent implements ObjectInterface, CategoryMemberInterface (View source)

Traits

Properties

protected CalendarEventVersion $selectedVersion

This points to the currently selected version in the object.

protected $calendar
protected $versions
protected $workflow_progress_objects
protected $summary_templates
protected $custom_summary_templates
protected $hasCustomSummaryTemplates
protected $eventID

Methods

getAttributeValueObject(AttributeKeyInterface|string $ak, bool $createIfNotExists = false)

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

clearAttribute($ak, bool $doReindexImmediately = true)

No description

Value
setAttribute($ak, mixed $value, bool $doReindexImmediately = true)

Sets the attribute of a user info object to the specified value, and saves it in the database.

__construct(Calendar $calendar)

No description

getCalendar()

No description

setCalendar(Calendar $calendar)

No description

getCalendarID()

No description

int
getID()

No description

setSelectedVersion(CalendarEventVersion $selectedVersion)

No description

__call($name, $arguments)

No description

isPending()

Returns true if none of the versions are approved

void
setHasCustomSummaryTemplates(mixed $hasCustomSummaryTemplates)

No description

getSummaryIdentifier()

No description

string
getSummaryCategoryHandle()

No description

clearCustomSummaryTemplates()

No description

array
getSummaryTemplates()

No description

bool
hasCustomSummaryTemplates()

No description

array

Details

CategoryInterface getObjectAttributeCategory()

AttributeValueInterface|null getAttributeValueObject(AttributeKeyInterface|string $ak, bool $createIfNotExists = false)

No description

Parameters

AttributeKeyInterface|string $ak

An attribute key instance (or its handle)

bool $createIfNotExists

Shall the generic attribute value be created if it does not already exist?

Return Value

AttributeValueInterface|null

getAttribute($ak, $mode = false)

No description

Parameters

$ak
$mode

Value getAttributeValue($ak)

No description

Parameters

$ak

Return Value

Value

clearAttribute($ak, bool $doReindexImmediately = true)

No description

Parameters

$ak
bool $doReindexImmediately

Value setAttribute($ak, mixed $value, bool $doReindexImmediately = true)

Sets the attribute of a user info object to the specified value, and saves it in the database.

Parameters

$ak
mixed $value
bool $doReindexImmediately

Return Value

Value

__construct(Calendar $calendar)

No description

Parameters

Calendar $calendar

EventOccurrenceList getOccurrenceList()

No description

Return Value

EventOccurrenceList

CalendarEventOccurrence[] getOccurrences()

No description

Return Value

CalendarEventOccurrence[]

Calendar getCalendar()

No description

Return Value

Calendar

setCalendar(Calendar $calendar)

No description

Parameters

Calendar $calendar

getCalendarID()

No description

int getID()

No description

Return Value

int

CalendarEventVersion getVersions()

No description

Return Value

CalendarEventVersion

CalendarEventVersion getSelectedVersion()

No description

Return Value

CalendarEventVersion

setSelectedVersion(CalendarEventVersion $selectedVersion)

No description

Parameters

CalendarEventVersion $selectedVersion

CalendarEventVersion getApprovedVersion()

No description

Return Value

CalendarEventVersion

CalendarEventVersion getRecentVersion()

No description

Return Value

CalendarEventVersion

__call($name, $arguments)

No description

Parameters

$name
$arguments

isPending()

Returns true if none of the versions are approved

void setHasCustomSummaryTemplates(mixed $hasCustomSummaryTemplates)

No description

Parameters

mixed $hasCustomSummaryTemplates

Return Value

void

getSummaryIdentifier()

No description

string getSummaryCategoryHandle()

No description

Return Value

string

clearCustomSummaryTemplates()

No description

getSummaryTemplatesCollection()

No description

array getSummaryTemplates()

No description

Return Value

array

bool hasCustomSummaryTemplates()

No description

Return Value

bool

array getCustomSelectedSummaryTemplates()

No description

Return Value

array