Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
default.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
13 $specificInfo = $block->getSpecificInformation();
14 $title = $block->escapeHtml($block->getMethod()->getTitle());
15 ?>
16 <dl class="payment-method">
17  <dt class="title"><?= /* @noEscape */ $title ?></dt>
18 <?php if ($specificInfo):?>
19  <dd class="content">
20  <table class="data table">
21  <caption class="table-caption"><?= /* @noEscape */ $title ?></caption>
22  <?php foreach ($specificInfo as $label => $value):?>
23  <tr>
24  <th scope="row"><?= $block->escapeHtml($label) ?></th>
25  <td>
26  <?= /* @noEscape */ nl2br($block->escapeHtml(implode("\n", $block->getValueAsArray($value, true)))) ?>
27  </td>
28  </tr>
29  <?php endforeach; ?>
30  </table>
31  </dd>
32 <?php endif;?>
33 </dl>
34 <?= $block->getChildHtml() ?>
$title
Definition: default.phtml:14
$block
Definition: block.php:8
endforeach
Definition: default.phtml:72
$label
Definition: details.phtml:21
$value
Definition: gender.phtml:16
if( $_item->getOrderItem() ->getParentItem())( $_item) ?><?php if( $_prevOptionId ! $_prevOptionId endif
Definition: default.phtml:41
$specificInfo
Definition: default.phtml:12