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-base
dev
tests
integration
_files
Magento
TestModuleExtensionAttributes
Model
FakeAttributeMetadata.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\TestModuleExtensionAttributes\Api\Model
;
9
13
class
FakeAttributeMetadata
extends
\Magento\Framework\Api\AbstractSimpleObject
implements
14
\Magento\TestModuleExtensionAttributes\Api\Data\FakeAttributeMetadataInterface
15
{
19
public
function
getAttributeCode
()
20
{
21
return
$this->
_get
(self::ATTRIBUTE_CODE);
22
}
23
27
public
function
getStoreLabel
()
28
{
29
return
$this->
_get
(self::STORE_LABEL);
30
}
31
35
public
function
getFrontendLabel
()
36
{
37
return
$this->
_get
(self::FRONTEND_LABEL);
38
}
39
43
public
function
getNote
()
44
{
45
return
$this->
_get
(self::NOTE);
46
}
47
54
public
function
setAttributeCode
(
$attributeCode
)
55
{
56
return
$this->
setData
(self::ATTRIBUTE_CODE,
$attributeCode
);
57
}
58
65
public
function
setStoreLabel
($storeLabel)
66
{
67
return
$this->
setData
(self::STORE_LABEL, $storeLabel);
68
}
69
76
public
function
setFrontendLabel
($frontendLabel)
77
{
78
return
$this->
setData
(self::FRONTEND_LABEL, $frontendLabel);
79
}
80
87
public
function
setNote
(
$note
)
88
{
89
return
$this->
setData
(self::NOTE,
$note
);
90
}
91
}
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\getStoreLabel
getStoreLabel()
Definition:
FakeAttributeMetadata.php:27
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\getFrontendLabel
getFrontendLabel()
Definition:
FakeAttributeMetadata.php:35
Magento\Framework\Api\AbstractSimpleObject
Definition:
AbstractSimpleObject.php:12
Magento\TestModuleExtensionAttributes\Api\Model
Definition:
FakeAttributeMetadata.php:8
Magento\Framework\Api\AbstractSimpleObject\_get
_get($key)
Definition:
AbstractSimpleObject.php:35
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\getNote
getNote()
Definition:
FakeAttributeMetadata.php:43
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\setFrontendLabel
setFrontendLabel($frontendLabel)
Definition:
FakeAttributeMetadata.php:76
$attributeCode
$attributeCode
Definition:
extend.phtml:12
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata
Definition:
FakeAttributeMetadata.php:13
Magento\Framework\Api\AbstractSimpleObject\setData
setData($key, $value)
Definition:
AbstractSimpleObject.php:47
Magento\TestModuleExtensionAttributes\Api\Data\FakeAttributeMetadataInterface
Definition:
FakeAttributeMetadataInterface.php:13
$note
$note
Definition:
element.phtml:13
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\setNote
setNote($note)
Definition:
FakeAttributeMetadata.php:87
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\getAttributeCode
getAttributeCode()
Definition:
FakeAttributeMetadata.php:19
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\setAttributeCode
setAttributeCode($attributeCode)
Definition:
FakeAttributeMetadata.php:54
Magento\TestModuleExtensionAttributes\Api\Model\FakeAttributeMetadata\setStoreLabel
setStoreLabel($storeLabel)
Definition:
FakeAttributeMetadata.php:65