PHP Class Smalot\Magento\Catalog\ProductAttributeSet

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Mostra file Open project: smalot/magento-client

Public Methods

Method Description
attributeAdd ( string $attributeId, string $attributeSetId, string $attributeGroupId = null, string $sortOrder = null ) : Smalot\Magento\ActionInterface Allows you to add an existing attribute to an attribute set.
attributeRemove ( string $attributeId, string $attributeSetId ) : Smalot\Magento\ActionInterface Allows you to remove an existing attribute from an attribute set.
create ( string $attributeSetName, string $skeletonSetId ) : Smalot\Magento\ActionInterface Allows you to create a new attribute set based on another attribute set.
getList ( ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of product attribute sets.
groupAdd ( string $attributeSetId, string $groupName ) : Smalot\Magento\ActionInterface Allows you to add a new group for attributes to the attribute set.
groupRemove ( string $attributeGroupId ) : Smalot\Magento\ActionInterface Allows you to remove a group from an attribute set.
groupRename ( string $groupId, string $groupName ) : Smalot\Magento\ActionInterface Allows you to rename a group in the attribute set.
remove ( string $attributeSetId, string $forceProductsRemove ) : Smalot\Magento\ActionInterface Allows you to remove an existing attribute set.

Method Details

attributeAdd() public method

Allows you to add an existing attribute to an attribute set.
public attributeAdd ( string $attributeId, string $attributeSetId, string $attributeGroupId = null, string $sortOrder = null ) : Smalot\Magento\ActionInterface
$attributeId string
$attributeSetId string
$attributeGroupId string
$sortOrder string
return Smalot\Magento\ActionInterface

attributeRemove() public method

Allows you to remove an existing attribute from an attribute set.
public attributeRemove ( string $attributeId, string $attributeSetId ) : Smalot\Magento\ActionInterface
$attributeId string
$attributeSetId string
return Smalot\Magento\ActionInterface

create() public method

Allows you to create a new attribute set based on another attribute set.
public create ( string $attributeSetName, string $skeletonSetId ) : Smalot\Magento\ActionInterface
$attributeSetName string
$skeletonSetId string
return Smalot\Magento\ActionInterface

getList() public method

Allows you to retrieve the list of product attribute sets.
public getList ( ) : Smalot\Magento\ActionInterface
return Smalot\Magento\ActionInterface

groupAdd() public method

Allows you to add a new group for attributes to the attribute set.
public groupAdd ( string $attributeSetId, string $groupName ) : Smalot\Magento\ActionInterface
$attributeSetId string
$groupName string
return Smalot\Magento\ActionInterface

groupRemove() public method

Allows you to remove a group from an attribute set.
public groupRemove ( string $attributeGroupId ) : Smalot\Magento\ActionInterface
$attributeGroupId string
return Smalot\Magento\ActionInterface

groupRename() public method

Allows you to rename a group in the attribute set.
public groupRename ( string $groupId, string $groupName ) : Smalot\Magento\ActionInterface
$groupId string
$groupName string
return Smalot\Magento\ActionInterface

remove() public method

Allows you to remove an existing attribute set.
public remove ( string $attributeSetId, string $forceProductsRemove ) : Smalot\Magento\ActionInterface
$attributeSetId string
$forceProductsRemove string
return Smalot\Magento\ActionInterface