class CalendarEventVersion implements ObjectInterface, JsonSerializable (View source)

Traits

Properties

protected $categories
protected $event
protected $author
protected $eventVersionID
protected $repetitions
protected $occurrences
$evDateAdded These have to be public so we can use doctrine criteria from another class. Sigh.
protected $evActivateDateTime These have to be public so we can use doctrine criteria from another class. Sigh.
$evIsApproved
protected $evDescription
protected $evName
protected $evRelatedPageRelationType C = created page, A = associated page, null = don't enable
protected $cID

Methods

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

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

Value
setAttribute(AttributeKeyInterface $ak, mixed $value)

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

__construct(CalendarEvent $event, User $author)

No description

mixed
getAuthor()

No description

setAuthor(mixed $author)

No description

mixed
getRelatedPageRelationType()

No description

setRelatedPageRelationType(mixed $relatedPageRelationType)

No description

string
getName()

No description

setName(string $name)

No description

getPageObject()

No description

int
getPageID()

No description

setPageID($cID)

No description

bool
isApproved()

No description

setIsApproved(bool $approved)

No description

setPageObject(Page $page)

No description

string
getDescription()

No description

setDescription(string $description)

No description

getID()

No description

mixed
getEvent()

No description

setEvent(mixed $event)

No description

jsonSerialize()

No description

mixed
getOccurrences()

No description

getCategories()

No description

getRepetitions()

No description

setRepetitions($repetitions)

No description

mixed
getDateAdded()

No description

mixed
getDateActivated()

No description

setDateActivated(mixed $evActivateDateTime)

No description

__clone()

No description

Details

CategoryInterface getObjectAttributeCategory()

Return Value

CategoryInterface

See also

\Concrete\Core\Attribute\ObjectInterface::getObjectAttributeCategory()

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

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)

Parameters

$ak
$mode

Value getAttributeValue($ak)

Parameters

$ak

Return Value

Value

clearAttribute(AttributeKeyInterface $ak)

Parameters

AttributeKeyInterface $ak | string $ak

Value setAttribute(AttributeKeyInterface $ak, mixed $value)

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

Parameters

AttributeKeyInterface $ak | string $ak
mixed $value

Return Value

Value

__construct(CalendarEvent $event, User $author)

Parameters

CalendarEvent $event
User $author

mixed getAuthor()

Return Value

mixed

setAuthor(mixed $author)

Parameters

mixed $author

mixed getRelatedPageRelationType()

Return Value

mixed

setRelatedPageRelationType(mixed $relatedPageRelationType)

Parameters

mixed $relatedPageRelationType

string getName()

Return Value

string

setName(string $name)

Parameters

string $name

Page getPageObject()

Return Value

Page

int getPageID()

Return Value

int

setPageID($cID)

Parameters

$cID

bool isApproved()

Return Value

bool

setIsApproved(bool $approved)

Parameters

bool $approved

setPageObject(Page $page)

Parameters

Page $page

string getDescription()

Return Value

string

setDescription(string $description)

Parameters

string $description

getID()

mixed getEvent()

Return Value

mixed

setEvent(mixed $event)

Parameters

mixed $event

stdClass jsonSerialize()

Return Value

stdClass

mixed getOccurrences()

Return Value

mixed

getCategories()

RepetitionInterface[] getRepetitions()

Return Value

RepetitionInterface[]

getRepetitionEntityCollection()

setRepetitions($repetitions)

Parameters

$repetitions

mixed getDateAdded()

Return Value

mixed

mixed getDateActivated()

Return Value

mixed

setDateActivated(mixed $evActivateDateTime)

Parameters

mixed $evActivateDateTime

__clone()