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
Exception.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Eav\Model\Entity\Attribute
;
7
14
class
Exception
extends
\Magento\Framework\Exception\LocalizedException
15
{
21
protected
$_attributeCode
;
22
29
protected
$_part
;
30
38
public
function
setAttributeCode
(
$attribute
)
39
{
40
$this->_attributeCode =
$attribute
;
41
return
$this;
42
}
43
51
public
function
setPart
($part)
52
{
53
$this->_part = $part;
54
return
$this;
55
}
56
63
public
function
getAttributeCode
()
64
{
65
return
$this->_attributeCode
;
66
}
67
74
public
function
getPart
()
75
{
76
return
$this->_part
;
77
}
78
}
Magento\Framework\Exception\LocalizedException
Definition:
LocalizedException.php:17
Magento\Eav\Model\Entity\Attribute\Exception\setPart
setPart($part)
Definition:
Exception.php:51
$attribute
$attribute
Definition:
attribute_set_with_image_attribute.php:41
Magento\Eav\Model\Entity\Attribute\Exception\$_attributeCode
$_attributeCode
Definition:
Exception.php:21
Magento\Eav\Model\Entity\Attribute\Exception\getPart
getPart()
Definition:
Exception.php:74
Magento\Eav\Model\Entity\Attribute\Exception\getAttributeCode
getAttributeCode()
Definition:
Exception.php:63
Magento\Eav\Model\Entity\Attribute
Magento\Eav\Model\Entity\Attribute\Exception\setAttributeCode
setAttributeCode($attribute)
Definition:
Exception.php:38
Magento\Eav\Model\Entity\Attribute\Exception\$_part
$_part
Definition:
Exception.php:29
Magento\Eav\Model\Entity\Attribute\Exception
Definition:
Exception.php:14