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-ui
DataProvider
AddFieldToCollection.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\DataProvider
;
7
8
use
Magento\Framework\Data\Collection
;
9
13
class
AddFieldToCollection
implements
AddFieldToCollectionInterface
14
{
18
public
function
addField
(
Collection
$collection
, $field,
$alias
=
null
)
19
{
20
$collection
->addFieldToSelect($field,
$alias
);
21
}
22
}
Magento\Framework\Data\Collection
Definition:
AbstractDb.php:6
Magento\Ui\DataProvider\AddFieldToCollection
Definition:
AddFieldToCollection.php:13
Magento\Ui\DataProvider\AddFieldToCollectionInterface
Definition:
AddFieldToCollectionInterface.php:13
Magento\Ui\DataProvider\AddFieldToCollection\addField
addField(Collection $collection, $field, $alias=null)
Definition:
AddFieldToCollection.php:18
Magento\Framework\Data\Collection
Definition:
Collection.php:19
$alias
if(!trim($html)) $alias
Definition:
details.phtml:20
Magento\Ui\DataProvider
Definition:
EntityFake.php:6
$collection
$collection
Definition:
catalog_category_with_apostrophe_rollback.php:17