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-customer
view
frontend
templates
widget
telephone.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
12
<div
class
=
"field telephone <?= $block->isRequired() ? 'required' : '' ?>"
>
13
<label
for
=
"telephone"
class
=
"label"
>
14
<span>
15
<?=
$block
->escapeHtml(
__
(
'Phone Number'
)) ?>
16
</span>
17
</label>
18
<div
class
=
"control"
>
19
<?php
20
$_validationClass
=
$block
->escapeHtmlAttr(
21
$this->helper(
'Magento\Customer\Helper\Address'
)
22
->getAttributeValidationClass(
'fax'
)
23
);
24
?>
25
<input type=
"text"
26
name
=
"telephone"
27
id
=
"telephone"
28
value
=
"<?= $block->escapeHtmlAttr($block->getTelephone()) ?>"
29
title=
"<?= $block->escapeHtmlAttr(__('Phone Number')) ?>"
30
class
=
"input-text <?= $_validationClass ?: '' ?>"
31
>
32
</div>
33
</div>
value
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition:
block.php:9
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
name
$_validationClass
$_validationClass
Definition:
telephone.phtml:20