ContentSitemap
in package
Class ContentSitemap
This class represents the content sitemap information
Tags
Table of Contents
- $changeFrequency : string
- Sitemap content change frequency
- $languageCode : string
- Language code
- $priority : string
- Sitemap content priorit
- $visible : bool
- Sitemap content visibility
- __construct() : mixed
- ContentSitemap constructor
- frequencyOfChange() : string
- Return the change frequency of the content
- isVisible() : bool
- Return whether the content is visible in the site map
- languageCode() : string
- Return the language code
- priority() : string
- Return the site map content priority
Properties
$changeFrequency
Sitemap content change frequency
protected
string
$changeFrequency
$languageCode
Language code
protected
string
$languageCode
$priority
Sitemap content priorit
protected
string
$priority
$visible
Sitemap content visibility
protected
bool
$visible
Methods
__construct()
ContentSitemap constructor
public
__construct(ContentSitemapVisibility $visibility, ContentSitemapPriority $priority, ContentSitemapChangeFrequency $changeFrequency, LanguageCode $languageCode) : mixed
Parameters
- $visibility : ContentSitemapVisibility
-
Site map content visibility
- $priority : ContentSitemapPriority
-
Site map content priority collection
- $changeFrequency : ContentSitemapChangeFrequency
-
Site map content change frequency
- $languageCode : LanguageCode
-
Language code
Return values
mixed —frequencyOfChange()
Return the change frequency of the content
public
frequencyOfChange() : string
Return values
string —isVisible()
Return whether the content is visible in the site map
public
isVisible() : bool
Return values
bool —languageCode()
Return the language code
public
languageCode() : string
Return values
string —priority()
Return the site map content priority
public
priority() : string