class AttributeSet extends AttributeSet implements PrimaryKeyInterface, RelationshipEntityInterface

Class AttributeSet

Properties

protected string $name from AttributeSet
protected int $code Unique identifier for attribute set

Methods

mixed
setAttributeSetName(string $name)

No description

string
getAttributeSetName()

No description

__construct()

Constructor

integer
getId()

No description

setId(int $id)

No description

int
getCode()

No description

setCode(int $code)

No description

addAttribute(Attribute $attribute)

Add attribute

removeAttribute(Attribute $attribute)

No description

Collection|ArrayCollection
getAttributes()

No description

setAttributes(ArrayCollection|null $attributes)

No description

addProduct(SimpleProduct $product)

No description

removeProduct(SimpleProduct $product)

No description

Collection
getProducts()

No description

string
__toString()

No description

string
getAttributeOrder()

No description

setAttributeOrder(string $attributeOrder)

No description

Details

in AttributeSet at line 39
mixed setAttributeSetName(string $name)

Parameters

string $name

Return Value

mixed

in AttributeSet at line 49
string getAttributeSetName()

Return Value

string

at line 95
__construct()

Constructor

at line 104
integer getId()

Return Value

integer

at line 114
AttributeSet setId(int $id)

Parameters

int $id

Return Value

AttributeSet

at line 124
int getCode()

Return Value

int

at line 134
AttributeSet setCode(int $code)

Parameters

int $code

Return Value

AttributeSet

at line 148
AttributeSet addAttribute(Attribute $attribute)

Add attribute

Parameters

Attribute $attribute

Return Value

AttributeSet

at line 163
AttributeSet removeAttribute(Attribute $attribute)

Parameters

Attribute $attribute

Return Value

AttributeSet

at line 174
Collection|ArrayCollection getAttributes()

Return Value

Collection|ArrayCollection

at line 184
AttributeSet setAttributes(ArrayCollection|null $attributes)

Parameters

ArrayCollection|null $attributes

Return Value

AttributeSet

at line 196
AttributeSet addProduct(SimpleProduct $product)

Parameters

SimpleProduct $product

Return Value

AttributeSet

at line 208
AttributeSet removeProduct(SimpleProduct $product)

Parameters

SimpleProduct $product

Return Value

AttributeSet

at line 219
Collection getProducts()

Return Value

Collection

at line 227
string __toString()

Return Value

string

at line 235
string getAttributeOrder()

Return Value

string

at line 245
AttributeSet setAttributeOrder(string $attributeOrder)

Parameters

string $attributeOrder

Return Value

AttributeSet