Event extends BasicComponent implements BuilderComponent, EventFactoryInterface
Table of Contents
Interfaces
Constants
- TYPE = 'VEVENT'
Methods
- __construct() : mixed
- accessContent() : Content
- appendProperty() : BasicComponent
- appendSubComponent() : BasicComponent
- create() : static
- createInstance() : Event
- getProperties() : array<string|int, string>
- getType() : string
- setAddress() : $this
- setAlerts() : Event
- setAttaches() : $this
- setAttendees() : $this
- setClassification() : $this
- setContent() : Content
- setCreatedAt() : $this
- setDescription() : $this
- setDtStamp() : $this
- setEndsAt() : $this
- setExdates() : $this
- setLocation() : $this
- setModified() : $this
- setName() : $this
- setOrganizer() : $this
- setPriority() : Event
- setRRule() : $this
- setSequence() : $this
- is version
- setStartsAt() : $this
- setStatus() : $this
- setTransparent() : $this
- setUrl() : $this
- setWithTime() : $this
- setWithTimezone() : $this
- toString() : string
Constants
TYPE
public
mixed
TYPE
= 'VEVENT'
Methods
__construct()
public
__construct(mixed $uid) : mixed
Parameters
- $uid : mixed
accessContent()
public
accessContent() : Content
Return values
ContentappendProperty()
public
appendProperty(PropertyType $property) : BasicComponent
Parameters
- $property : PropertyType
Return values
BasicComponentappendSubComponent()
public
appendSubComponent(BasicComponent $component) : BasicComponent
Parameters
- $component : BasicComponent
Return values
BasicComponentcreate()
public
static create(array<string|int, mixed> $event, string $type) : static
Parameters
- $event : array<string|int, mixed>
- $type : string
Tags
Return values
staticcreateInstance()
public
static createInstance(mixed $uid) : Event
Parameters
- $uid : mixed
Return values
EventgetProperties()
public
getProperties() : array<string|int, string>
Return values
array<string|int, string>getType()
public
getType() : string
Return values
stringsetAddress()
public
setAddress([string|null $address = null ]) : $this
Parameters
- $address : string|null = null
Return values
$thissetAlerts()
public
setAlerts(array<string|int, Alarm> $alerts) : Event
Parameters
- $alerts : array<string|int, Alarm>
Return values
EventsetAttaches()
public
setAttaches([array<string|int, mixed>|null $attaches = null ]) : $this
Parameters
- $attaches : array<string|int, mixed>|null = null
Return values
$thissetAttendees()
public
setAttendees(iterable<string|int, mixed> $attendees) : $this
Parameters
- $attendees : iterable<string|int, mixed>
Return values
$thissetClassification()
public
setClassification([string|null $classification = null ]) : $this
Parameters
- $classification : string|null = null
Return values
$thissetContent()
public
setContent() : Content
Return values
ContentsetCreatedAt()
public
setCreatedAt(Date $created) : $this
Parameters
- $created : Date
Return values
$thissetDescription()
public
setDescription([string $description = null ]) : $this
Parameters
- $description : string = null
Return values
$thissetDtStamp()
public
setDtStamp(Date $dtStamp) : $this
Parameters
- $dtStamp : Date
Return values
$thissetEndsAt()
public
setEndsAt(Date $ends) : $this
Parameters
- $ends : Date
Return values
$thissetExdates()
public
setExdates([array<string|int, mixed>|null $exdates = null ]) : $this
Parameters
- $exdates : array<string|int, mixed>|null = null
Return values
$thissetLocation()
public
setLocation([string|null $location = null ]) : $this
Parameters
- $location : string|null = null
Return values
$thissetModified()
public
setModified(Date|null $modified) : $this
Parameters
- $modified : Date|null
Return values
$thissetName()
public
setName([string $name = null ]) : $this
Parameters
- $name : string = null
Return values
$thissetOrganizer()
public
setOrganizer(Attendee $organizer, string $mailTo) : $this
Parameters
- $organizer : Attendee
- $mailTo : string
Return values
$thissetPriority()
public
setPriority(int $priority) : Event
Parameters
- $priority : int
Return values
EventsetRRule()
public
setRRule([RecurrenceRuleProperty|null $rrule = null ]) : $this
Parameters
- $rrule : RecurrenceRuleProperty|null = null
Return values
$thissetSequence()
is version
public
setSequence(int $sequence) : $this
Parameters
- $sequence : int
Return values
$thissetStartsAt()
public
setStartsAt(Date $starts) : $this
Parameters
- $starts : Date
Return values
$thissetStatus()
public
setStatus(string $status) : $this
Parameters
- $status : string
Return values
$thissetTransparent()
public
setTransparent(string $transparent) : $this
Parameters
- $transparent : string
Return values
$thissetUrl()
public
setUrl(mixed $url) : $this
Parameters
- $url : mixed
Return values
$thissetWithTime()
public
setWithTime([bool $withTime = false ]) : $this
Parameters
- $withTime : bool = false
Return values
$thissetWithTimezone()
public
setWithTimezone(bool $withTimeZone) : $this
Parameters
- $withTimeZone : bool
Return values
$thistoString()
public
toString() : string