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
framework
Data
Form
Element
Submit.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Framework\Data\Form\Element
;
13
14
use
Magento\Framework\Escaper
;
15
16
class
Submit
extends
AbstractElement
17
{
24
public
function
__construct
(
25
Factory
$factoryElement,
26
CollectionFactory
$factoryCollection,
27
Escaper
$escaper,
28
$data
= []
29
) {
30
parent::__construct($factoryElement, $factoryCollection, $escaper,
$data
);
31
$this->setExtType(
'submit'
);
32
$this->
setType
(
'submit'
);
33
}
34
38
public
function
getHtml
()
39
{
40
$this->
addClass
(
'submit'
);
41
return
parent::getHtml();
42
}
43
}
Magento\Framework\Data\Form\Element\CollectionFactory
Definition:
CollectionFactory.php:10
Magento\Framework\Data\Form\Element\Submit\getHtml
getHtml()
Definition:
Submit.php:38
Magento\Framework\Data\Form\Element\Factory
Definition:
Factory.php:14
Magento\Framework\Escaper
Definition:
Escaper.php:15
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Data\Form\Element\AbstractElement\addClass
addClass($class)
Definition:
AbstractElement.php:257
Magento\Framework\Data\Form\Element\AbstractElement\setType
setType($type)
Definition:
AbstractElement.php:197
Magento\Framework\Data\Form\Element\Submit\__construct
__construct(Factory $factoryElement, CollectionFactory $factoryCollection, Escaper $escaper, $data=[])
Definition:
Submit.php:24
Magento\Framework\Data\Form\Element
Definition:
AbstractElement.php:6
Magento\Framework\Data\Form\Element\Submit
Definition:
Submit.php:16
Magento\Framework\Data\Form\Element\AbstractElement
Definition:
AbstractElement.php:21