InfoElementContent

Implements \ContentAttributesInterface, \ContentHeadingAttributeInterface, \ContentTextAttributeInterface

Class InfoElementContent

This class represents an info element content

category

System

package

Content

Methods

InfoElementContent constructor

__construct(\ContentPositionInterface $elementPosition, \ContentStatusInterface $status, \ContentTitleCollection $titles, \ContentHeadingCollection $headings, \ContentTextCollection $texts) 

Arguments

$elementPosition

\ContentPositionInterface

Element position

$status

\ContentStatusInterface

Activation status

$titles

\ContentTitleCollection

Localized titles

$headings

\ContentHeadingCollection

Localized headings

$texts

\ContentTextCollection

Localized texts

Return the localized content headings

headings() : \ContentHeadingCollection

Return whether the content is active

isActive() : boolean

Response

boolean

Return the content position

position() : string

Response

string

Return the localized content texts

texts() : \ContentTextCollection

Return the localized content titles

titles() : \ContentTitleCollection

Return the content type

type() : string

Response

string

Properties

Content type

type : string
var

Type(s)

string

Content position

position : string
var

Type(s)

string

Content status

status : boolean
var

Type(s)

boolean

Localized content titles

titles : \ContentTitleCollection

Localized content headings

headings : \ContentHeadingCollection

Localized content texts

texts : \ContentHeadingCollection