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

mixed
setValue(string $value)

No description

string
getValue()

No description

string
getColor()

No description

setColor(string $color)

No description

boolean
isDisplayText()

No description

setDisplayText(bool $displayText)

No description

__construct()

No description

string
getErpCode()

No description

setErpCode(string $erpCode)

No description

addProductAttributeValue(ProductAttributeValues $productAttributesValue)

Add productAttributesValue

removeProductAttributeValue(ProductAttributeValues $productAttributesValue)

Remove productAttributesValue

setProductAttributesValues(mixed $productAttributesValues)

No description

Collection
getProductAttributeValue()

No description

getProductAttributesValues()

No description

getAttribute()

No description

setAttribute(Attribute|Proxy $attribute)

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)

Parameters

string $value

Return Value

mixed

in AttributeValue at line 79
string getValue()

Return Value

string

in AttributeValue at line 87
string getColor()

Return Value

string

in AttributeValue at line 97
AttributeValue setColor(string $color)

Parameters

string $color

Return Value

AttributeValue

in AttributeValue at line 107
boolean isDisplayText()

Return Value

boolean

in AttributeValue at line 117
AttributeValue setDisplayText(bool $displayText)

Parameters

bool $displayText

Return Value

AttributeValue

at line 113
__construct()

at line 121
string getErpCode()

Return Value

string

at line 131
AttributeValue setErpCode(string $erpCode)

Parameters

string $erpCode

Return Value

AttributeValue

at line 145
AttributeValue addProductAttributeValue(ProductAttributeValues $productAttributesValue)

Add productAttributesValue

Parameters

ProductAttributeValues $productAttributesValue

Return Value

AttributeValue

at line 162
AttributeValue removeProductAttributeValue(ProductAttributeValues $productAttributesValue)

Remove productAttributesValue

Parameters

ProductAttributeValues $productAttributesValue

Return Value

AttributeValue

at line 175
AttributeValue setProductAttributesValues(mixed $productAttributesValues)

Parameters

mixed $productAttributesValues

Return Value

AttributeValue

at line 185
Collection getProductAttributeValue()

Return Value

Collection

at line 193
getProductAttributesValues()

at line 201
Attribute getAttribute()

Return Value

Attribute

at line 211
AttributeValue setAttribute(Attribute|Proxy $attribute)

Parameters

Attribute|Proxy $attribute

Return Value

AttributeValue

at line 221
integer getId()

Return Value

integer

at line 231
AttributeValue setId(int $id)

Parameters

int $id

Return Value

AttributeValue

at line 241
int getCode()

Return Value

int

at line 251
AttributeValue setCode(int $code)

Parameters

int $code

Return Value

AttributeValue

at line 261
int getPriority()

Return Value

int

at line 271
AttributeValue setPriority(int $priority)

Parameters

int $priority

Return Value

AttributeValue

at line 283
ArrayCollection|null setJMSProductAttributesValues(ArrayCollection|null $productAttributesValues)

Parameters

ArrayCollection|null $productAttributesValues

Return Value

ArrayCollection|null

at line 295
string serialize()

(PHP 5 >= 5.1.0)
String representation of object

Return Value

string the string representation of the object or null

at line 316
void unserialize(string $serialized)

(PHP 5 >= 5.1.0)
Constructs the object

Parameters

string $serialized The string representation of the object.

Return Value

void