ContentSitemap
in package
implements
ContentSitemapInterface
Class ContentSitemap
This class represents the content site map information
Tags
Interfaces, Classes and Traits
- ContentSitemapInterface
- Interface ContentSitemapInterface
Table of Contents
- $changeFrequency : string
- Site map content change frequency
- $priorities : ContentSitemapPriorityCollection
- Site map content priority for each language
- $visible : bool
- Site map 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
- priorities() : ContentSitemapPriorityCollection
- Return the site map content priority collection
Properties
$changeFrequency
Site map content change frequency
protected
string
$changeFrequency
$priorities
Site map content priority for each language
protected
ContentSitemapPriorityCollection
$priorities
$visible
Site map content visibility
protected
bool
$visible
Methods
__construct()
ContentSitemap constructor
public
__construct(ContentSitemapVisibilityInterface $visibility, ContentSitemapPriorityCollection $priorities, ContentSitemapChangeFrequencyInterface $changeFrequency) : mixed
Parameters
- $visibility : ContentSitemapVisibilityInterface
-
Site map content visibility
- $priorities : ContentSitemapPriorityCollection
-
Site map content priority collection
- $changeFrequency : ContentSitemapChangeFrequencyInterface
-
Site map content change frequency
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 —priorities()
Return the site map content priority collection
public
priorities() : ContentSitemapPriorityCollection