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-functional-testing-framework
src
Magento
FunctionalTestingFramework
Util
msq.php
Go to the documentation of this file.
1
<?php
7
use
Magento\FunctionalTestingFramework\Module\MagentoSequence
;
8
9
if
(!
function_exists
(
'msq'
)) {
16
function
msq
(
$id
=
null
)
17
{
18
if
(
$id
and isset(MagentoSequence::$hash[
$id
])) {
19
return
MagentoSequence::$hash[
$id
];
20
}
21
$prefix
=
MagentoSequence::$prefix
;
22
$sequence =
$prefix
. uniqid();
23
if
(
$id
) {
24
MagentoSequence::$hash[
$id
] = $sequence;
25
}
26
return
$sequence;
27
}
28
}
29
30
if
(!
function_exists
(
'msqs'
)) {
37
function
msqs
(
$id
=
null
)
38
{
39
if
(
$id
and isset(MagentoSequence::$suiteHash[
$id
])) {
40
return
MagentoSequence::$suiteHash[
$id
];
41
}
42
$prefix
=
MagentoSequence::$prefix
;
43
$sequence =
$prefix
. uniqid();
44
if
(
$id
) {
45
MagentoSequence::$suiteHash[
$id
] = $sequence;
46
}
47
return
$sequence;
48
}
49
}
Magento\FunctionalTestingFramework\DataGenerator\Objects\msqs
msqs($id=null)
Definition:
EntityDataObjectTest.php:28
$id
$id
Definition:
fieldset.phtml:14
$prefix
$prefix
Definition:
name.phtml:25
Magento\FunctionalTestingFramework\DataGenerator\Objects\msq
msq($id=null)
Definition:
EntityDataObjectTest.php:23
Magento\Deploy\Console\Command\function_exists
function_exists($func)
Definition:
FunctionExistMock.php:13
Magento\FunctionalTestingFramework\Module\MagentoSequence
Definition:
MagentoSequence.php:17