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
framework
Search
Request
Query
Match.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Search\Request\Query
;
7
8
use
Magento\Framework\Search\Request\QueryInterface
;
9
15
class
Match
implements
QueryInterface
16
{
22
protected
$name
;
23
29
protected
$value
;
30
36
protected
$boost
;
37
48
protected
$matches
= [];
49
57
public
function
__construct
(
$name
,
$value
,
$boost
, array
$matches
)
58
{
59
$this->
name
=
$name
;
60
$this->
value
=
$value
;
61
$this->boost =
$boost
;
62
$this->matches =
$matches
;
63
}
64
68
public
function
getValue
()
69
{
70
return
$this->value
;
71
}
72
77
public
function
getType
()
78
{
79
return
QueryInterface::TYPE_MATCH
;
80
}
81
86
public
function
getName
()
87
{
88
return
$this->name
;
89
}
90
95
public
function
getBoost
()
96
{
97
return
$this->boost
;
98
}
99
106
public
function
getMatches
()
107
{
108
return
$this->matches
;
109
}
110
}
Magento\Framework\Search\Request\Query\Match\getName
getName()
Definition:
Match.php:86
Magento\Framework\Search\Request\Query\Match\$value
$value
Definition:
Match.php:29
value
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition:
block.php:9
Magento\Framework\Search\Request\Query\Match\$boost
$boost
Definition:
Match.php:36
Magento\Framework\Search\Request\QueryInterface
Definition:
QueryInterface.php:14
Magento\Framework\Search\Request\Query\Match
Definition:
Match.php:15
Magento\Framework\Search\Request\Query
Definition:
BoolExpression.php:6
Magento\Framework\Search\Request\Query\Match\__construct
__construct($name, $value, $boost, array $matches)
Definition:
Match.php:57
name
Magento\Framework\Search\Request\Query\Match\$matches
$matches
Definition:
Match.php:48
Magento\Framework\Search\Request\Query\Match\getValue
getValue()
Definition:
Match.php:68
Magento\Framework\Search\Request\Query\Match\$name
$name
Definition:
Match.php:22
Magento\Framework\Search\Request\Query\Match\getMatches
getMatches()
Definition:
Match.php:106
Magento\Framework\Search\Request\Query\Match\getBoost
getBoost()
Definition:
Match.php:95
Magento\Framework\Search\Request\QueryInterface\TYPE_MATCH
const TYPE_MATCH
Definition:
QueryInterface.php:19
Magento\Framework\Search\Request\Query\Match\getType
getType()
Definition:
Match.php:77