InfoPageContentBuilder

Implements \BuilderInterface, \InfoPageContentBuilderInterface

Class InfoPageContentBuilder

This class represents an info page content builder

category

System

package

Content

Methods

Return the created InfoPageContent instance

build() : \InfoPageContent
Throws
\UnfinishedBuildException

On calling build() before having all properties set

Response

\InfoPageContent

Info page content entity object

Return new instance of the builder

create() : \InfoPageContentBuilder
static

Response

\InfoPageContentBuilder

New instance

Set the page position

inPosition(\PagePosition $position = null) : \InfoPageContentBuilder

Arguments

$position

\PagePosition

page position

Response

\InfoPageContentBuilder

Same instance

Set the content "Allow robots" status

usingAllowRobotsStatus(\ContentAllowRobotsStatus $allowRobotsStatus = null) : \InfoPageContentBuilder

Arguments

$allowRobotsStatus

\ContentAllowRobotsStatus

"Allow robots" status

Response

\InfoPageContentBuilder

Same instance

Set the localized content download files

usingDownloadFiles(\ContentDownloadFileCollection $downloads = null) : \InfoPageContentBuilder

Arguments

$downloads

\ContentDownloadFileCollection

Localized download files

Response

\InfoPageContentBuilder

Same instance

Set the localized content headings

usingHeadings(\ContentHeadingCollection $headings = null) : \InfoPageContentBuilder

Arguments

$headings

\ContentHeadingCollection

Localized headings

Response

\InfoPageContentBuilder

Same instance

Set the content group id

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

Arguments

$id

integer|null

Response

\InfoPageContentBuilder

Same instance

Set the localized content meta descriptions

usingMetaDescriptions(\ContentMetaDescriptionCollection $metaDescriptions = null) : \InfoPageContentBuilder

Arguments

$metaDescriptions

\ContentMetaDescriptionCollection

Localized meta descriptions

Response

\InfoPageContentBuilder

Same instance

Set the localized content meta keywords

usingMetaKeywords(\ContentMetaKeywordsCollection $metaKeywords = null) : \InfoPageContentBuilder

Arguments

$metaKeywords

\ContentMetaKeywordsCollection

Localized meta keywords

Response

\InfoPageContentBuilder

Same instance

Set the localized content meta titles

usingMetaTitles(\ContentMetaTitleCollection $metaTitles = null) : \InfoPageContentBuilder

Arguments

$metaTitles

\ContentMetaTitleCollection

Localized meta titles

Response

\InfoPageContentBuilder

Same instance

Set the localized content names

usingNames(\ContentNameCollection $names = null) : \InfoPageContentBuilder

Arguments

$names

\ContentNameCollection

Localized names

Response

\InfoPageContentBuilder

Same instance

Set the localized content OpenGraph images

usingOpengraphImages(\ContentOpengraphImageCollection $opengraphImages = null) : \InfoPageContentBuilder

Arguments

$opengraphImages

\ContentOpengraphImageCollection

Localized OpenGraph images

Response

\InfoPageContentBuilder

Same instance

Set the content sitemap information

usingSitemap(\ContentSitemap $sitemap = null) : \InfoPageContentBuilder

Arguments

$sitemap

\ContentSitemap

Sitemap information

Response

\InfoPageContentBuilder

Same instance

Set the activation status

usingStatus(\ContentStatus $status = null) : \InfoPageContentBuilder

Arguments

$status

\ContentStatus

Activation status

Response

\InfoPageContentBuilder

Same instance

Set the localized content texts

usingTexts(\ContentTextCollection $texts = null) : \InfoPageContentBuilder

Arguments

$texts

\ContentTextCollection

Localized texts

Response

\InfoPageContentBuilder

Same instance

Set the localized content titles

usingTitles(\ContentTitleCollection $titles = null) : \InfoPageContentBuilder

Arguments

$titles

\ContentTitleCollection

Localized titles

Response

\InfoPageContentBuilder

Same instance

Set the localized content URL keywords

usingUrlKeywords(\ContentUrlKeywordsCollection $urlKeywords = null) : \InfoPageContentBuilder

Arguments

$urlKeywords

\ContentUrlKeywordsCollection

Localized URL keywords

Response

\InfoPageContentBuilder

Same instance

Set the localized content URL rewrite

usingUrlRewrites(\ContentUrlRewriteCollection $urlRewrites = null) : \InfoPageContentBuilder

Arguments

$urlRewrites

\ContentUrlRewriteCollection

Localized URL rewrites

Response

\InfoPageContentBuilder

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

Localized content download files

downloads : \ContentDownloadFileCollection

Localized content meta titles

metaTitles : \ContentMetaTitleCollection

Localized content meta keywords

metaKeywords : \ContentMetaKeywordsCollection

Localized content OpenGraph images

opengraphImages : \ContentOpengraphImageCollection

Localized content meta descriptions

metaDescriptions : \ContentMetaDescriptionCollection

"Allow Robots" status

allowRobotsStatus : \ContentAllowRobotsStatus

Content site map information

sitemap : \ContentSitemap
var

Type(s)

\ContentSitemap

Localized content URL rewrites

urlRewrites : \ContentUrlRewriteCollection

Localized content URL keywords

urlKeywords : \ContentUrlKeywordsCollection

Localized content names

names : \ContentNameCollection

Content group id

id : integer|null
var

Type(s)

integer|null