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-eav
Model
Entity
Attribute
OptionLabel.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Eav\Model\Entity\Attribute
;
7
8
use
Magento\Eav\Api\Data\AttributeOptionLabelInterface
;
9
use
Magento\Framework\Model\AbstractModel
;
10
16
class
OptionLabel
extends
AbstractModel
implements
AttributeOptionLabelInterface
17
{
21
public
function
getLabel
()
22
{
23
return
$this->
getData
(self::LABEL);
24
}
25
29
public
function
getStoreId
()
30
{
31
return
$this->
getData
(self::STORE_ID);
32
}
33
40
public
function
setStoreId
(
$storeId
)
41
{
42
return
$this->
setData
(self::STORE_ID,
$storeId
);
43
}
44
51
public
function
setLabel
(
$label
)
52
{
53
return
$this->
setData
(self::LABEL,
$label
);
54
}
55
}
Magento\Framework\Model\AbstractModel
Definition:
AbstractModel.php:19
Magento\Framework\Model\AbstractModel\setData
setData($key, $value=null)
Definition:
AbstractModel.php:345
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Eav\Model\Entity\Attribute\OptionLabel\setStoreId
setStoreId($storeId)
Definition:
OptionLabel.php:40
Magento\Framework\DataObject\getData
getData($key='', $index=null)
Definition:
DataObject.php:119
Magento\Eav\Api\Data\AttributeOptionLabelInterface
Definition:
AttributeOptionLabelInterface.php:14
Magento\Eav\Model\Entity\Attribute\OptionLabel\getLabel
getLabel()
Definition:
OptionLabel.php:21
Magento\Eav\Model\Entity\Attribute\OptionLabel\setLabel
setLabel($label)
Definition:
OptionLabel.php:51
Magento\Eav\Model\Entity\Attribute\OptionLabel
Definition:
OptionLabel.php:16
$label
$label
Definition:
details.phtml:21
Magento\Eav\Model\Entity\Attribute
Magento\Eav\Model\Entity\Attribute\OptionLabel\getStoreId
getStoreId()
Definition:
OptionLabel.php:29