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-config
Model
Config
Source
Dev
Dbautoup.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Config\Model\Config\Source\Dev
;
8
13
class
Dbautoup
implements
\Magento\Framework\Option\ArrayInterface
14
{
18
public
function
toOptionArray
()
19
{
20
return
[
21
[
22
'value'
=>
\Magento\Framework\App\ResourceConnection::AUTO_UPDATE_ALWAYS
,
23
'label'
=>
__
(
'Always (during development)'
)
24
],
25
[
26
'value'
=>
\Magento\Framework\App\ResourceConnection::AUTO_UPDATE_ONCE
,
27
'label'
=>
__
(
'Only Once (version upgrade)'
)
28
],
29
[
30
'value'
=>
\Magento\Framework\App\ResourceConnection::AUTO_UPDATE_NEVER
,
31
'label'
=>
__
(
'Never (production)'
)
32
]
33
];
34
}
35
}
Magento\Framework\App\ResourceConnection\AUTO_UPDATE_NEVER
const AUTO_UPDATE_NEVER
Definition:
ResourceConnection.php:22
Magento\Config\Model\Config\Source\Dev\Dbautoup
Definition:
Dbautoup.php:13
Magento\Framework\App\ResourceConnection\AUTO_UPDATE_ALWAYS
const AUTO_UPDATE_ALWAYS
Definition:
ResourceConnection.php:24
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Framework\App\ResourceConnection\AUTO_UPDATE_ONCE
const AUTO_UPDATE_ONCE
Definition:
ResourceConnection.php:20
Magento\Config\Model\Config\Source\Dev\Dbautoup\toOptionArray
toOptionArray()
Definition:
Dbautoup.php:18
Magento\Config\Model\Config\Source\Dev
Definition:
Dbautoup.php:7