Documentation

InfoPageContent
in package
implements ContentAttributesInterface, ContentHeadingAttributeInterface, ContentTextAttributeInterface, ContentDownloadFileAttributeInterface, ContentMetaAttributesInterface, ContentNameAttributeInterface, ContentGroupIdInterface

Class InfoPageContent

This class represents an info page content

Tags
category

System

Interfaces, Classes and Traits

ContentAttributesInterface
Interface ContentAttributesInterface
ContentHeadingAttributeInterface
Interface ContentHeadingAttributeInterface
ContentTextAttributeInterface
Interface ContentTextAttributeInterface
ContentDownloadFileAttributeInterface
Interface ContentDownloadFileAttributeInterface
ContentMetaAttributesInterface
Interface ContentMetaAttributesInterface
ContentNameAttributeInterface
Interface ContentNameAttributeInterface
ContentGroupIdInterface
Interface ContentGroupIdInterface

Table of Contents

$allowRobots  : bool
"Allow Robots" status
$downloads  : ContentHeadingCollection
Localized content download files
$headings  : ContentHeadingCollection
Localized content headings
$id  : ContentIdentificationInterface
Content group ID
$metaDescriptions  : ContentMetaDescriptionCollection
Localized content meta descriptions
$metaKeywords  : ContentMetaKeywordsCollection
Localized content meta keywords
$metaTitles  : ContentMetaTitleCollection
Localized content meta titles
$names  : ContentNameCollection
Localized content names
$opengraphImages  : ContentOpengraphImageCollection
Localized content OpenGraph images
$position  : string
Content position
$sitemap  : ContentSitemap
Content site map information
$status  : bool
Content status
$texts  : ContentHeadingCollection
Localized content texts
$titles  : ContentTitleCollection
Localized content titles
$type  : string
Content type
$urlKeywords  : ContentUrlKeywordsCollection
Localized content URL keywords
$urlRewrites  : ContentUrlRewriteCollection
Localized content URL rewrites
__construct()  : mixed
InfoPageContent constructor.
downloads()  : ContentDownloadFileCollection
Return the localized content download files
headings()  : ContentHeadingCollection
Return the localized content headings
id()  : ContentIdentificationInterface|null
Returns the content group id if set, otherwise null will be returned.
isActive()  : bool
Return whether the content is active
isAllowingRobots()  : bool
Return whether robots are allowed
metaDescriptions()  : ContentMetaDescriptionCollection
Return the localized content meta descriptions
metaKeywords()  : ContentMetaKeywordsCollection
Return the localized content meta titles
metaTitles()  : ContentMetaTitleCollection
Return the localized content meta titles
names()  : ContentNameCollection
Return the localized content names
opengraphImages()  : ContentOpengraphImageCollection
Return the localized OpenGraph images
position()  : string
Return the content position
sitemap()  : ContentSitemap
Return the content site map information
texts()  : ContentTextCollection
Return the localized content texts
titles()  : ContentTitleCollection
Return the localized content titles
type()  : string
Return the content type
urlKeywords()  : ContentUrlKeywordsCollection
Return the localized content URL keywords
urlRewrites()  : ContentUrlRewriteCollection
Return the localized content URL rewrites

Properties

Methods

__construct()

InfoPageContent constructor.

public __construct(ContentPositionInterface $pagePosition, ContentStatusInterface $status, ContentTitleCollection $titles, ContentHeadingCollection $headings, ContentTextCollection $texts, ContentNameCollection $names[, ContentIdentificationInterface|null $id = null ][, ContentDownloadFileCollection|null $downloads = null ][, ContentMetaTitleCollection|null $metaTitles = null ][, ContentMetaKeywordsCollection|null $metaKeywords = null ][, ContentOpengraphImageCollection|null $opengraphImages = null ][, ContentMetaDescriptionCollection|null $metaDescriptions = null ][, ContentAllowRobotsStatus|null $allowRobotsStatus = null ][, ContentSitemap|null $sitemap = null ][, ContentUrlRewriteCollection|null $urlRewrites = null ][, ContentUrlKeywordsCollection|null $urlKeywords = null ]) : mixed
Parameters
$pagePosition : ContentPositionInterface
$status : ContentStatusInterface
$titles : ContentTitleCollection
$headings : ContentHeadingCollection
$texts : ContentTextCollection
$names : ContentNameCollection
$id : ContentIdentificationInterface|null = null

Optional content group ID

$downloads : ContentDownloadFileCollection|null = null
$metaTitles : ContentMetaTitleCollection|null = null
$metaKeywords : ContentMetaKeywordsCollection|null = null
$opengraphImages : ContentOpengraphImageCollection|null = null
$metaDescriptions : ContentMetaDescriptionCollection|null = null
$allowRobotsStatus : ContentAllowRobotsStatus|null = null
$sitemap : ContentSitemap|null = null
$urlRewrites : ContentUrlRewriteCollection|null = null
$urlKeywords : ContentUrlKeywordsCollection|null = null
Return values
mixed

isActive()

Return whether the content is active

public isActive() : bool
Return values
bool

isAllowingRobots()

Return whether robots are allowed

public isAllowingRobots() : bool
Return values
bool

position()

Return the content position

public position() : string
Return values
string

Search results