InfoPageContent
in package
implements
ContentAttributesInterface, ContentHeadingAttributeInterface, ContentTextAttributeInterface, ContentDownloadFileAttributeInterface, ContentMetaAttributesInterface, ContentNameAttributeInterface, ContentGroupIdInterface
Class InfoPageContent
This class represents an info page content
Tags
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
$allowRobots
"Allow Robots" status
protected
bool
$allowRobots
$downloads
Localized content download files
protected
ContentHeadingCollection
$downloads
$headings
Localized content headings
protected
ContentHeadingCollection
$headings
$id
Content group ID
protected
ContentIdentificationInterface
$id
$metaDescriptions
Localized content meta descriptions
protected
ContentMetaDescriptionCollection
$metaDescriptions
$metaKeywords
Localized content meta keywords
protected
ContentMetaKeywordsCollection
$metaKeywords
$metaTitles
Localized content meta titles
protected
ContentMetaTitleCollection
$metaTitles
$names
Localized content names
protected
ContentNameCollection
$names
$opengraphImages
Localized content OpenGraph images
protected
ContentOpengraphImageCollection
$opengraphImages
$position
Content position
protected
string
$position
$sitemap
Content site map information
protected
ContentSitemap
$sitemap
$status
Content status
protected
bool
$status
$texts
Localized content texts
protected
ContentHeadingCollection
$texts
$titles
Localized content titles
protected
ContentTitleCollection
$titles
$type
Content type
protected
string
$type
$urlKeywords
Localized content URL keywords
protected
ContentUrlKeywordsCollection
$urlKeywords
$urlRewrites
Localized content URL rewrites
protected
ContentUrlRewriteCollection
$urlRewrites
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 —downloads()
Return the localized content download files
public
downloads() : ContentDownloadFileCollection
Return values
ContentDownloadFileCollection —headings()
Return the localized content headings
public
headings() : ContentHeadingCollection
Return values
ContentHeadingCollection —id()
Returns the content group id if set, otherwise null will be returned.
public
id() : ContentIdentificationInterface|null
Return values
ContentIdentificationInterface|null —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 —metaDescriptions()
Return the localized content meta descriptions
public
metaDescriptions() : ContentMetaDescriptionCollection
Return values
ContentMetaDescriptionCollection —metaKeywords()
Return the localized content meta titles
public
metaKeywords() : ContentMetaKeywordsCollection
Return values
ContentMetaKeywordsCollection —metaTitles()
Return the localized content meta titles
public
metaTitles() : ContentMetaTitleCollection
Return values
ContentMetaTitleCollection —names()
Return the localized content names
public
names() : ContentNameCollection
Return values
ContentNameCollection —opengraphImages()
Return the localized OpenGraph images
public
opengraphImages() : ContentOpengraphImageCollection
Return values
ContentOpengraphImageCollection —position()
Return the content position
public
position() : string
Return values
string —sitemap()
Return the content site map information
public
sitemap() : ContentSitemap
Return values
ContentSitemap —texts()
Return the localized content texts
public
texts() : ContentTextCollection
Return values
ContentTextCollection —titles()
Return the localized content titles
public
titles() : ContentTitleCollection
Return values
ContentTitleCollection —type()
Return the content type
public
type() : string
Return values
string —urlKeywords()
Return the localized content URL keywords
public
urlKeywords() : ContentUrlKeywordsCollection
Return values
ContentUrlKeywordsCollection —urlRewrites()
Return the localized content URL rewrites
public
urlRewrites() : ContentUrlRewriteCollection