InfoElementContentBuilder

Implements \BuilderInterface, \InfoElementContentBuilderInterface

Class InfoElementContentBuilder

This class represents an info element content builder

category

System

package

Content

Methods

Return the created InfoElementContent instance

build() : \InfoElementContent
Throws
\UnfinishedBuildException

On calling build() before having all properties set

Response

\InfoElementContent

Info element content entity object

Return new instance of the builder

create() : \InfoElementContentBuilder
static

Response

\InfoElementContentBuilder

New instance

Set the page position

inPosition(\ElementPosition $position) : \InfoElementContentBuilder

Arguments

$position

\ElementPosition

Element position

Response

\InfoElementContentBuilder

Same instance

Set the localized content headings

usingHeadings(\ContentHeadingCollection $headings) : \InfoElementContentBuilder

Arguments

$headings

\ContentHeadingCollection

Localized headings

Response

\InfoElementContentBuilder

Same instance

Set the content group id

usingId(integer|null $id = null) : \InfoElementContentBuilder

Arguments

$id

integer|null

Response

\InfoElementContentBuilder

Same instance

Set the activation status

usingStatus(\ContentStatus $status) : \InfoElementContentBuilder

Arguments

$status

\ContentStatus

Activation status

Response

\InfoElementContentBuilder

Same instance

Set the localized content texts

usingTexts(\ContentTextCollection $texts) : \InfoElementContentBuilder

Arguments

$texts

\ContentTextCollection

Localized texts

Response

\InfoElementContentBuilder

Same instance

Set the localized content titles

usingTitles(\ContentTitleCollection $titles) : \InfoElementContentBuilder

Arguments

$titles

\ContentTitleCollection

Localized titles

Response

\InfoElementContentBuilder

Same instance

Properties

Content position

position : \PagePosition
var

Type(s)

\PagePosition

Content status

status : \ContentStatus
var

Type(s)

\ContentStatus

Localized content titles

titles : \ContentTitleCollection

Localized content headings

headings : \ContentHeadingCollection

Localized content texts

texts : \ContentTextCollection

Content group id

id : integer|null
var

Type(s)

integer|null