ScriptPageContent
in package
implements
ContentInterface, ContentAttributesInterface, ContentScriptFileAttributeInterface, ContentMetaAttributesInterface, ContentNameAttributeInterface, ContentGroupIdInterface, ContentSortOrderInterface, ContentDeleteInterface
Class ScriptPageContent
Interfaces, Classes and Traits
- ContentInterface
- ContentAttributesInterface
- Interface ContentAttributesInterface
- ContentScriptFileAttributeInterface
- ContentMetaAttributesInterface
- Interface ContentMetaAttributesInterface
- ContentNameAttributeInterface
- Interface ContentNameAttributeInterface
- ContentGroupIdInterface
- Interface ContentGroupIdInterface
- ContentSortOrderInterface
- ContentDeleteInterface
Table of Contents
- $allowRobotsStatuses : ContentAllowRobotsStatusInterface
- $deletable : ContentDeleteInterface
- $id : ContentIdentificationInterface
- $metaDescriptions : ContentMetaDescriptionCollection
- $metaKeywords : ContentMetaKeywordsCollection
- $metaTitles : ContentMetaTitleCollection
- $names : ContentNameCollection
- $openInNewTab : ContentOpenInNewTabStatusCollection
- $position : ContentPositionInterface
- $scriptFiles : ContentScriptFileCollection
- $sitemaps : ContentSitemapInterface
- $sortOrder : ContentSortOrderInterface
- $status : ContentStatusCollection
- $titles : ContentTitleCollection
- $type : string
- Content type
- $urlKeywords : ContentUrlKeywordsCollection
- $urlRewrites : ContentUrlRewriteCollection
- __construct() : mixed
- allowRobotsStatuses() : ContentAllowRobotsStatusCollection|null
- Return the localized content allow robots statuses
- id() : ContentIdentificationInterface|null
- Returns the content group id if set, otherwise null will be returned.
- isDeletable() : bool
- Returns whether the content is deletable
- metaDescriptions() : ContentMetaDescriptionCollection|null
- Return the localized content meta descriptions
- metaKeywords() : ContentMetaKeywordsCollection|null
- Return the localized content meta titles
- metaTitles() : ContentMetaTitleCollection|null
- Return the localized content meta titles
- names() : ContentNameCollection|null
- Return the localized content names
- opengraphImages() : ContentOpengraphImageCollection|null
- Return the localized OpenGraph images
- openInNewTab() : ContentOpenInNewTabStatusCollection|null
- Return whether the content is opened in a new tab
- order() : int
- Returns the content sort order
- position() : string|null
- Return the content position
- scripts() : ContentScriptFileCollection|null
- Return the localized content download files
- sitemaps() : ContentSitemapCollection|null
- Return the localized content sitemap information
- status() : ContentStatusCollection|null
- Return whether the content status
- titles() : ContentTitleCollection|null
- Return the localized content titles
- type() : string|null
- Return the content type
- urlKeywords() : ContentUrlKeywordsCollection|null
- Return the localized content URL keywords
- urlRewrites() : ContentUrlRewriteCollection|null
- Return the localized content URL rewrites
Properties
$allowRobotsStatuses
private
ContentAllowRobotsStatusInterface
$allowRobotsStatuses
$deletable
private
ContentDeleteInterface
$deletable
$id
private
ContentIdentificationInterface
$id
$metaDescriptions
private
ContentMetaDescriptionCollection
$metaDescriptions
$metaKeywords
private
ContentMetaKeywordsCollection
$metaKeywords
$metaTitles
private
ContentMetaTitleCollection
$metaTitles
$names
private
ContentNameCollection
$names
$openInNewTab
private
ContentOpenInNewTabStatusCollection
$openInNewTab
$position
private
ContentPositionInterface
$position
$scriptFiles
private
ContentScriptFileCollection
$scriptFiles
$sitemaps
private
ContentSitemapInterface
$sitemaps
$sortOrder
private
ContentSortOrderInterface
$sortOrder
$status
private
ContentStatusCollection
$status
$titles
private
ContentTitleCollection
$titles
$type
Content type
private
string
$type
$urlKeywords
private
ContentUrlKeywordsCollection
$urlKeywords
$urlRewrites
private
ContentUrlRewriteCollection
$urlRewrites
Methods
__construct()
public
__construct(ContentNameCollection $names, ContentTitleCollection $titles, ContentPositionInterface $position, ContentStatusCollection $status, ContentScriptFileCollection $scriptFiles[, ContentIdentificationInterface|null $id = null ][, ContentAllowRobotsStatusCollection|null $allowRobotsStatuses = null ][, ContentMetaDescriptionCollection|null $metaDescriptions = null ][, ContentMetaKeywordsCollection|null $metaKeywords = null ][, ContentMetaTitleCollection|null $metaTitles = null ][, ContentUrlKeywordsCollection|null $urlKeywords = null ][, ContentUrlRewriteCollection|null $urlRewrites = null ][, ContentSitemapCollection|null $sitemaps = null ][, ContentSortOrderInterface|null $sortOrder = null ][, ContentDeleteInterface|null $deletable = null ][, ContentOpenInNewTabStatusCollection|null $openInNewTab = null ]) : mixed
Parameters
- $names : ContentNameCollection
- $titles : ContentTitleCollection
- $position : ContentPositionInterface
- $status : ContentStatusCollection
- $scriptFiles : ContentScriptFileCollection
- $id : ContentIdentificationInterface|null = null
- $allowRobotsStatuses : ContentAllowRobotsStatusCollection|null = null
- $metaDescriptions : ContentMetaDescriptionCollection|null = null
- $metaKeywords : ContentMetaKeywordsCollection|null = null
- $metaTitles : ContentMetaTitleCollection|null = null
- $urlKeywords : ContentUrlKeywordsCollection|null = null
- $urlRewrites : ContentUrlRewriteCollection|null = null
- $sitemaps : ContentSitemapCollection|null = null
- $sortOrder : ContentSortOrderInterface|null = null
- $deletable : ContentDeleteInterface|null = null
- $openInNewTab : ContentOpenInNewTabStatusCollection|null = null
Return values
mixed —allowRobotsStatuses()
Return the localized content allow robots statuses
public
allowRobotsStatuses() : ContentAllowRobotsStatusCollection|null
Return values
ContentAllowRobotsStatusCollection|null —id()
Returns the content group id if set, otherwise null will be returned.
public
id() : ContentIdentificationInterface|null
Return values
ContentIdentificationInterface|null —isDeletable()
Returns whether the content is deletable
public
isDeletable() : bool
Return values
bool —metaDescriptions()
Return the localized content meta descriptions
public
metaDescriptions() : ContentMetaDescriptionCollection|null
Return values
ContentMetaDescriptionCollection|null —metaKeywords()
Return the localized content meta titles
public
metaKeywords() : ContentMetaKeywordsCollection|null
Return values
ContentMetaKeywordsCollection|null —metaTitles()
Return the localized content meta titles
public
metaTitles() : ContentMetaTitleCollection|null
Return values
ContentMetaTitleCollection|null —names()
Return the localized content names
public
names() : ContentNameCollection|null
Return values
ContentNameCollection|null —opengraphImages()
Return the localized OpenGraph images
public
opengraphImages() : ContentOpengraphImageCollection|null
Return values
ContentOpengraphImageCollection|null —openInNewTab()
Return whether the content is opened in a new tab
public
openInNewTab() : ContentOpenInNewTabStatusCollection|null
Return values
ContentOpenInNewTabStatusCollection|null —order()
Returns the content sort order
public
order() : int
Return values
int —position()
Return the content position
public
position() : string|null
Return values
string|null —scripts()
Return the localized content download files
public
scripts() : ContentScriptFileCollection|null
Return values
ContentScriptFileCollection|null —sitemaps()
Return the localized content sitemap information
public
sitemaps() : ContentSitemapCollection|null
Return values
ContentSitemapCollection|null —status()
Return whether the content status
public
status() : ContentStatusCollection|null
Return values
ContentStatusCollection|null —titles()
Return the localized content titles
public
titles() : ContentTitleCollection|null
Return values
ContentTitleCollection|null —type()
Return the content type
public
type() : string|null
Return values
string|null —urlKeywords()
Return the localized content URL keywords
public
urlKeywords() : ContentUrlKeywordsCollection|null
Return values
ContentUrlKeywordsCollection|null —urlRewrites()
Return the localized content URL rewrites
public
urlRewrites() : ContentUrlRewriteCollection|null