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
magento2-base
dev
tests
functional
tests
app
Magento
Downloadable
Test
Block
Adminhtml
Catalog
Product
Edit
Section
Downloadable
SampleRow.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable
;
7
8
use Magento\Mtf\Block\Form;
9
use Magento\Mtf\Client\ElementInterface;
10
14
class
SampleRow
extends
Form
15
{
21
protected
$sortDraggableHandle
=
'*[class=draggable-handle]'
;
22
29
public
function
fillSampleRow
(array
$fields
)
30
{
31
$mapping = $this->dataMapping(
$fields
);
32
$this->_fill($mapping);
33
}
34
41
public
function
getDataSampleRow
(array
$fields
)
42
{
43
$mapping = $this->dataMapping(
$fields
);
44
return
$this->_getData($mapping);
45
}
46
53
public
function
dragAndDropTo
(ElementInterface
$target
)
54
{
55
$this->
getSortHandle
()->dragAndDrop($target);
56
}
57
63
public
function
getSortHandle
()
64
{
65
return
$this->_rootElement->find($this->sortDraggableHandle);
66
}
67
}
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow\getDataSampleRow
getDataSampleRow(array $fields)
Definition:
SampleRow.php:41
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable
Definition:
LinkRow.php:7
$target
$target
Definition:
skip.phtml:8
$fields
$fields
Definition:
details.phtml:14
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow
Definition:
SampleRow.php:14
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow\$sortDraggableHandle
$sortDraggableHandle
Definition:
SampleRow.php:21
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow\getSortHandle
getSortHandle()
Definition:
SampleRow.php:63
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow\fillSampleRow
fillSampleRow(array $fields)
Definition:
SampleRow.php:29
Magento\Downloadable\Test\Block\Adminhtml\Catalog\Product\Edit\Section\Downloadable\SampleRow\dragAndDropTo
dragAndDropTo(ElementInterface $target)
Definition:
SampleRow.php:53