AttributeValue
class AttributeValue extends AttributeValue implements PrimaryKeyInterface, Serializable, BlockEntity, RelationshipEntityInterface
AttributeValue
Properties
| protected string | $value | Attribute value name | from AttributeValue |
| protected string | $color | Attribute value color | from AttributeValue |
| protected bool | $displayText | Should display value name | from AttributeValue |
| protected int | $code | Unique identifier for attribute | |
| protected string | $erpCode | Unique identifier for attribute. Used for synchronization with erp |
Methods
__construct()
No description
string
getErpCode()
No description
setErpCode(string $erpCode)
No description
removeProductAttributeValue(ProductAttributeValues $productAttributesValue)
Remove productAttributesValue
setProductAttributesValues(mixed $productAttributesValues)
No description
Collection
getProductAttributeValue()
No description
getProductAttributesValues()
No description
getAttribute()
No description
integer
getId()
No description
setId(int $id)
No description
int
getCode()
No description
setCode(int $code)
No description
int
getPriority()
No description
setPriority(int $priority)
No description
ArrayCollection|null
setJMSProductAttributesValues(ArrayCollection|null $productAttributesValues)
No description
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object
Details
in AttributeValue at line 69
mixed
setValue(string $value)
in AttributeValue at line 79
string
getValue()
in AttributeValue at line 87
string
getColor()
in AttributeValue at line 97
AttributeValue
setColor(string $color)
in AttributeValue at line 107
boolean
isDisplayText()
in AttributeValue at line 117
AttributeValue
setDisplayText(bool $displayText)
at line 113
__construct()
at line 121
string
getErpCode()
at line 131
AttributeValue
setErpCode(string $erpCode)
at line 145
AttributeValue
addProductAttributeValue(ProductAttributeValues $productAttributesValue)
Add productAttributesValue
at line 162
AttributeValue
removeProductAttributeValue(ProductAttributeValues $productAttributesValue)
Remove productAttributesValue
at line 175
AttributeValue
setProductAttributesValues(mixed $productAttributesValues)
at line 185
Collection
getProductAttributeValue()
at line 193
getProductAttributesValues()
at line 201
Attribute
getAttribute()
at line 211
AttributeValue
setAttribute(Attribute|Proxy $attribute)
at line 221
integer
getId()
at line 231
AttributeValue
setId(int $id)
at line 241
int
getCode()
at line 251
AttributeValue
setCode(int $code)
at line 261
int
getPriority()
at line 271
AttributeValue
setPriority(int $priority)
at line 283
ArrayCollection|null
setJMSProductAttributesValues(ArrayCollection|null $productAttributesValues)
at line 295
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
at line 316
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object