Content
Table of Contents
Methods
-
__construct()
: mixed
-
dateTimeProperty()
: Content
-
getInstance()
: Content
-
getProperties()
: array<string|int, mixed>
-
getSubComponents()
: array<string|int, mixed>
-
getType()
: string
-
property()
: Content
-
subComponent()
: Content
-
textProperty()
: Content
-
timezoneOffsetProperty()
: Content
__construct()
public
__construct(string $type) : mixed
Parameters
-
$type
: string
-
dateTimeProperty()
public
dateTimeProperty(mixed $names, Date $value[, bool $withTime = false ][, bool $withTimeZone = false ][, bool $isUTC = false ]) : Content
Parameters
-
$names
: mixed
-
-
$value
: Date
-
-
$withTime
: bool
= false
-
-
$withTimeZone
: bool
= false
-
-
$isUTC
: bool
= false
-
getInstance()
public
static getInstance(string $type) : Content
Parameters
-
$type
: string
-
getProperties()
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSubComponents()
public
getSubComponents() : array<string|int, mixed>
Return values
array<string|int, mixed>
getType()
public
getType() : string
property()
public
property(PropertyType $property[, array<string|int, mixed> $parameters = null ]) : Content
Parameters
-
$property
: PropertyType
-
-
$parameters
: array<string|int, mixed>
= null
-
subComponent()
public
subComponent(BasicComponent ...$components) : Content
Parameters
-
$components
: BasicComponent
-
textProperty()
public
textProperty(mixed $names, string|null $value[, bool $disableEscaping = false ]) : Content
Parameters
-
$names
: mixed
-
-
$value
: string|null
-
-
$disableEscaping
: bool
= false
-
timezoneOffsetProperty()
public
timezoneOffsetProperty(mixed $names, DateTimeZone $value) : Content
Parameters
-
$names
: mixed
-
-
$value
: DateTimeZone
-