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-rss
view
frontend
templates
feeds.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
11
?>
12
<table
class
=
"data table rss"
>
13
<caption
class
=
"table-caption"
><?=
$block
->escapeHtml(
__
(
'Feed'
)) ?></caption>
14
<tbody>
15
<th colspan=
"2"
scope=
"col"
><?=
$block
->escapeHtml(
__
(
'Miscellaneous Feeds'
)) ?></th>
16
<?php
foreach
(
$block
->getFeeds() as $feed): ?>
17
<?php
if
(!isset($feed[
'group'
])): ?>
18
<tr>
19
<td
class
=
"col feed"
><?=
$block
->escapeHtml($feed[
'label'
]) ?></td>
20
<td
class
=
"col action"
>
21
<a href=
"<?= $block->escapeUrl($feed['link']) ?>"
class
=
"action get"
><span><?=
$block
->escapeHtml(
__
(
'Get Feed'
)) ?></span></a>
22
</td>
23
</tr>
24
<?php
else
: ?>
25
<th colspan=
"2"
scope=
"col"
><?=
$block
->escapeHtml($feed[
'group'
]) ?></th>
26
<?php
foreach
($feed[
'feeds'
] as
$item
) :?>
27
<tr>
28
<td
class
=
"col feed"
><?=
$block
->escapeHtml(
$item
[
'label'
]) ?></td>
29
<td
class
=
"col action"
>
30
<a href=
"<?= $block->escapeUrl($item['link']) ?>"
class
=
"action get"
><span><?=
$block
->escapeHtml(
__
(
'Get Feed'
)) ?></span></a>
31
</td>
32
</tr>
33
<?php
endforeach
; ?>
34
<?php
endif
; ?>
35
<?php
endforeach
; ?>
36
</tbody>
37
</table>
endif
endif
Definition:
feeds.phtml:34
__
__()
Definition:
__.php:13
$item
$item
Definition:
partial_invoice.php:27
$block
$block
Definition:
block.php:8
endforeach
endforeach
Definition:
feeds.phtml:35