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-widget
Model
ResourceModel
Widget
Instance
Options
ThemeId.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Widget\Model\ResourceModel\Widget\Instance\Options
;
8
15
class
ThemeId
implements
\Magento\Framework\Option\ArrayInterface
16
{
20
protected
$_resourceModel
;
21
25
public
function
__construct
(\
Magento
\Theme\Model\
ResourceModel
\Theme\CollectionFactory $widgetResourceModel)
26
{
27
$this->_resourceModel = $widgetResourceModel->create();
28
}
29
33
public
function
toOptionArray
()
34
{
35
return
$this->_resourceModel->toOptionHash();
36
}
37
}
Magento\Catalog\Model\ResourceModel\Product
Definition:
CollectionTest.php:6
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId\toOptionArray
toOptionArray()
Definition:
ThemeId.php:33
Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId\$_resourceModel
$_resourceModel
Definition:
ThemeId.php:20
Magento\Widget\Model\ResourceModel\Widget\Instance\Options
Definition:
ThemeId.php:7
Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId
Definition:
ThemeId.php:15
Magento
Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId\__construct
__construct(\Magento\Theme\Model\ResourceModel\Theme\CollectionFactory $widgetResourceModel)
Definition:
ThemeId.php:25