Calendar extends ParserComponent
Table of Contents
Constants
- COMPONENT_TYPE = 'VCALENDAR'
Methods
- __construct() : mixed
- Calendar constructor.
- accessContent() : Content
- appendProperty() : BasicComponent
- appendSubComponent() : BasicComponent
- countEvents() : int
- createInstance() : Calendar
- getCalScale() : ParserPropertyType|null
- getContent() : $this
- getEvent() : Event
- getEvents() : array<string|int, Event>
- getMethod() : string|null
- getName() : string
- getProdId() : string|null
- getProperties() : array<string|int, mixed>
- getTimezones() : array<string|int, Timezone>
- getType() : string
- getVersion() : string|null
- hasOneEvent() : bool
- setCalScale() : $this
- setEvent() : $this
- setMethod() : $this
- setProdId() : $this
- setSubComponents() : $this
- setVersion() : $this
- toString() : string
Constants
COMPONENT_TYPE
public
mixed
COMPONENT_TYPE
= 'VCALENDAR'
Methods
__construct()
Calendar constructor.
public
__construct(mixed $name) : mixed
Parameters
- $name : 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
BasicComponentcountEvents()
public
countEvents() : int
Return values
intcreateInstance()
public
static createInstance([string $name = '' ]) : Calendar
Parameters
- $name : string = ''
Return values
CalendargetCalScale()
public
getCalScale() : ParserPropertyType|null
Return values
ParserPropertyType|nullgetContent()
public
getContent() : $this
Return values
$thisgetEvent()
public
getEvent() : Event
Return values
EventgetEvents()
public
getEvents() : array<string|int, Event>
Return values
array<string|int, Event>getMethod()
public
getMethod() : string|null
Return values
string|nullgetName()
public
getName() : string
Return values
stringgetProdId()
public
getProdId() : string|null
Return values
string|nullgetProperties()
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>getTimezones()
public
getTimezones() : array<string|int, Timezone>
Return values
array<string|int, Timezone>getType()
public
getType() : string
Return values
stringgetVersion()
public
getVersion() : string|null
Return values
string|nullhasOneEvent()
public
hasOneEvent() : bool
Return values
boolsetCalScale()
public
setCalScale(ParserPropertyType|null $calscale) : $this
Parameters
- $calscale : ParserPropertyType|null
Return values
$thissetEvent()
public
setEvent(Event $event) : $this
Parameters
- $event : Event
Return values
$thissetMethod()
public
setMethod(ParserPropertyType|null $method) : $this
Parameters
- $method : ParserPropertyType|null
Return values
$thissetProdId()
public
setProdId(ParserPropertyType|null $prodId) : $this
Parameters
- $prodId : ParserPropertyType|null
Return values
$thissetSubComponents()
public
setSubComponents(iterable<string|int, mixed> $subComponents) : $this
Parameters
- $subComponents : iterable<string|int, mixed>
Return values
$thissetVersion()
public
setVersion(ParserPropertyType|null $version) : $this
Parameters
- $version : ParserPropertyType|null
Return values
$thistoString()
public
toString() : string