AttributeSet
in package
AttributeSet
Tags
Table of Contents
Properties
- $attributeSetGroup : mixed
- $id : int
- $name : string
- $newProduct : mixed
Methods
- __construct() : mixed
- Constructor
- addAttributeSetGroup() : AttributeSet
- Add attributeSetGroup.
- addNewProduct() : AttributeSet
- Add newProduct.
- getAttributeSetGroup() : Collection
- Get attributeSetGroup.
- getId() : int
- Get id
- getName() : string|null
- Get name.
- getNewProduct() : Collection
- Get newProduct.
- removeAttributeSetGroup() : bool
- Remove attributeSetGroup.
- removeNewProduct() : bool
- Remove newProduct.
- setId() : Product
- Set id
- setName() : AttributeSet
- Set name.
Properties
$attributeSetGroup
private
mixed
$attributeSetGroup
Tags
$id
private
int
$id
Tags
$name
private
string
$name
Tags
$newProduct
private
mixed
$newProduct
Tags
Methods
__construct()
Constructor
public
__construct() : mixed
addAttributeSetGroup()
Add attributeSetGroup.
public
addAttributeSetGroup(AttributeSetGroup $attributeSetGroup) : AttributeSet
Parameters
- $attributeSetGroup : AttributeSetGroup
Return values
AttributeSetaddNewProduct()
Add newProduct.
public
addNewProduct(NewProduct $newProduct) : AttributeSet
Parameters
- $newProduct : NewProduct
Return values
AttributeSetgetAttributeSetGroup()
Get attributeSetGroup.
public
getAttributeSetGroup() : Collection
Return values
CollectiongetId()
Get id
public
getId() : int
Return values
intgetName()
Get name.
public
getName() : string|null
Return values
string|nullgetNewProduct()
Get newProduct.
public
getNewProduct() : Collection
Return values
CollectionremoveAttributeSetGroup()
Remove attributeSetGroup.
public
removeAttributeSetGroup(AttributeSetGroup $attributeSetGroup) : bool
Parameters
- $attributeSetGroup : AttributeSetGroup
Return values
bool —TRUE if this collection contained the specified element, FALSE otherwise.
removeNewProduct()
Remove newProduct.
public
removeNewProduct(NewProduct $newProduct) : bool
Parameters
- $newProduct : NewProduct
Return values
bool —TRUE if this collection contained the specified element, FALSE otherwise.
setId()
Set id
public
setId(int $id) : Product
Parameters
- $id : int
Return values
ProductsetName()
Set name.
public
setName([string|null $name = null ]) : AttributeSet
Parameters
- $name : string|null = null