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
AbstractKeyValuePair.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Search
;
7
8
class
AbstractKeyValuePair
9
{
15
protected
$name
;
16
22
protected
$value
;
23
29
public
function
__construct
(
$name
,
$value
)
30
{
31
$this->
name
=
$name
;
32
$this->
value
=
$value
;
33
}
34
41
public
function
getName
()
42
{
43
return
$this->name
;
44
}
45
52
public
function
getValue
()
53
{
54
return
$this->value
;
55
}
56
}
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\AbstractKeyValuePair\$value
$value
Definition:
AbstractKeyValuePair.php:22
name
Magento\Framework\Search\AbstractKeyValuePair\getValue
getValue()
Definition:
AbstractKeyValuePair.php:52
Magento\Framework\Search\AbstractKeyValuePair\__construct
__construct($name, $value)
Definition:
AbstractKeyValuePair.php:29
Magento\Framework\Search\AbstractKeyValuePair\getName
getName()
Definition:
AbstractKeyValuePair.php:41
Magento\Framework\Search
Definition:
AbstractKeyValuePair.php:6
Magento\Framework\Search\AbstractKeyValuePair\$name
$name
Definition:
AbstractKeyValuePair.php:15
Magento\Framework\Search\AbstractKeyValuePair
Definition:
AbstractKeyValuePair.php:8