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-theme
view
adminhtml
templates
browser
content
files.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
11
<?php
13
?>
14
15
<?php
if
(
$block
->getFilesCount() > 0): ?>
16
<?php
foreach
(
$block
->getFiles() as $file): ?>
17
<div
class
=
"filecnt file-font"
id
=
"<?= /* @escapeNotVerified */ $file['id'] ?>"
>
18
<p
class
=
"nm"
>
19
<?=
/* @escapeNotVerified */
$file[
'text'
] ?>
20
<?php
if
(isset($file[
'thumbnailParams'
])): ?>
21
<img src=
"<?= /* @escapeNotVerified */ $block->getUrl('*/*/previewImage', $file['thumbnailParams']) ?>"
>
22
<?php
endif
; ?>
23
</p>
24
</div>
25
<?php
endforeach
; ?>
26
<?php
else
: ?>
27
<?=
/* @escapeNotVerified */
__
(
'We found no files.'
) ?>
28
<?php
endif
; ?>
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endforeach
endforeach
Definition:
files.phtml:32
endif
if( $block->getFilesCount() > 0)( $block->getFiles() as $file)( $block->getFileId( $file)) ?>" data-size endif
Definition:
files.phtml:26