Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getAttributeCode () | |
getValue () | |
setAttributeCode ($attributeCode) | |
setValue ($value) | |
![]() | |
__construct (array $data=[]) | |
setData ($key, $value) | |
__toArray () | |
Additional Inherited Members | |
![]() | |
const | ATTRIBUTE_CODE = 'attribute_code' |
const | VALUE = 'value' |
![]() | |
_get ($key) | |
![]() | |
$_data | |
Custom Attribute Data object
Definition at line 12 of file AttributeValue.php.
getAttributeCode | ( | ) |
Get attribute code
Implements AttributeInterface.
Definition at line 19 of file AttributeValue.php.
getValue | ( | ) |
Get attribute value
Implements AttributeInterface.
Definition at line 29 of file AttributeValue.php.
setAttributeCode | ( | $attributeCode | ) |
Set attribute code
string | $attributeCode |
Implements AttributeInterface.
Definition at line 40 of file AttributeValue.php.
setValue | ( | $value | ) |
Set attribute value
mixed | $value |
Implements AttributeInterface.
Definition at line 52 of file AttributeValue.php.