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
company.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<div
class
=
"field company <?= $block->isRequired() ? 'required' : '' ?>"
>
12
<label
for
=
"company"
class
=
"label"
>
13
<span>
14
<?=
$block
->escapeHtml(
__
(
'Company'
)) ?>
15
</span>
16
</label>
17
<div
class
=
"control"
>
18
<?php
19
$_validationClass
=
$block
->escapeHtmlAttr(
20
$this->helper(
'Magento\Customer\Helper\Address'
)
21
->getAttributeValidationClass(
'company'
)
22
);
23
?>
24
<input type=
"text"
25
name
=
"company"
26
id
=
"company"
27
value
=
"<?= $block->escapeHtmlAttr($block->getCompany()) ?>"
28
title=
"<?= $block->escapeHtmlAttr(__('Company')) ?>"
29
class
=
"input-text <?= $_validationClass ?: '' ?>"
30
>
31
</div>
32
</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:
company.phtml:19