phpDocumentor

InfoElementContent
in package
implements ContentInterface, ContentAttributesInterface, ContentHeadingAttributeInterface, ContentTextAttributeInterface, ContentGroupIdInterface, JsonSerializable

Class InfoElementContent

This class represents an info element content

Tags
category

System

Interfaces, Classes and Traits

ContentInterface
ContentAttributesInterface
Interface ContentAttributesInterface
ContentHeadingAttributeInterface
Interface ContentHeadingAttributeInterface
ContentTextAttributeInterface
Interface ContentTextAttributeInterface
ContentGroupIdInterface
Interface ContentGroupIdInterface
JsonSerializable

Table of Contents

$headings  : ContentHeadingCollection
Localized content headings
$id  : ContentIdentificationInterface
Content group ID
$position  : string
Content position
$sortOrder  : ContentSortOrder|null
Sort order
$status  : ContentStatusCollection
Content status
$texts  : ContentHeadingCollection
Localized content texts
$titles  : ContentTitleCollection
Localized content titles
$type  : string
Content type
__construct()  : mixed
headings()  : ContentHeadingCollection
Return the localized content headings
id()  : ContentIdentificationInterface
Returns the content group id if set, otherwise null will be returned.
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
position()  : string
Return the content position
sortOrder()  : ContentSortOrder|null
Return the sort order
status()  : ContentStatusCollection
Return whether the content is active
texts()  : ContentTextCollection
Return the localized content texts
titles()  : ContentTitleCollection
Return the localized content titles
type()  : string
Return the content type

Properties

Methods

__construct()

public __construct(ContentPositionInterface $elementPosition, ContentStatusCollection $status, ContentTitleCollection $titles, ContentHeadingCollection $headings, ContentTextCollection $texts[, ContentIdentificationInterface|null $id = null ][, ContentSortOrder|null $sortOrder = null ]) : mixed
Parameters
$elementPosition : ContentPositionInterface
$status : ContentStatusCollection
$titles : ContentTitleCollection
$headings : ContentHeadingCollection
$texts : ContentTextCollection
$id : ContentIdentificationInterface|null = null
$sortOrder : ContentSortOrder|null = null
Return values
mixed

Search results