Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sitemap
Model
SitemapItem.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Sitemap\Model
;
8
9
class
SitemapItem
implements
SitemapItemInterface
10
{
14
private
$url;
15
19
private
$priority;
20
24
private
$changeFrequency;
25
29
private
$images;
30
34
private
$updatedAt;
35
45
public
function
__construct
($url, $priority, $changeFrequency, $updatedAt =
null
, $images =
null
)
46
{
47
$this->url = $url;
48
$this->priority = $priority;
49
$this->changeFrequency = $changeFrequency;
50
$this->updatedAt = $updatedAt;
51
$this->images = $images;
52
}
53
57
public
function
getUrl
()
58
{
59
return
$this->url;
60
}
61
65
public
function
getPriority
()
66
{
67
return
$this->priority;
68
}
69
73
public
function
getChangeFrequency
()
74
{
75
return
$this->changeFrequency;
76
}
77
81
public
function
getImages
()
82
{
83
return
$this->images;
84
}
85
89
public
function
getUpdatedAt
()
90
{
91
return
$this->updatedAt;
92
}
93
}
Magento\Sitemap\Model\SitemapItem\getImages
getImages()
Definition:
SitemapItem.php:81
Magento\Sitemap\Model\SitemapItem\getUrl
getUrl()
Definition:
SitemapItem.php:57
Magento\Sitemap\Model\SitemapItem\getChangeFrequency
getChangeFrequency()
Definition:
SitemapItem.php:73
Magento\Sitemap\Model\SitemapItem
Definition:
SitemapItem.php:9
Magento\Sitemap\Model\SitemapItemInterface
Definition:
SitemapItemInterface.php:14
Magento\Sitemap\Model\SitemapItem\__construct
__construct($url, $priority, $changeFrequency, $updatedAt=null, $images=null)
Definition:
SitemapItem.php:45
Magento\Sitemap\Model
Magento\Sitemap\Model\SitemapItem\getUpdatedAt
getUpdatedAt()
Definition:
SitemapItem.php:89
Magento\Sitemap\Model\SitemapItem\getPriority
getPriority()
Definition:
SitemapItem.php:65