PHP 클래스 Smalot\Magento\Catalog\ProductAttributeSet

상속: extends Smalot\Magento\MagentoModuleAbstract
파일 보기 프로젝트 열기: smalot/magento-client

공개 메소드들

메소드 설명
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.

메소드 상세

attributeAdd() 공개 메소드

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
리턴 Smalot\Magento\ActionInterface

attributeRemove() 공개 메소드

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

create() 공개 메소드

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
리턴 Smalot\Magento\ActionInterface

getList() 공개 메소드

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

groupAdd() 공개 메소드

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
리턴 Smalot\Magento\ActionInterface

groupRemove() 공개 메소드

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

groupRename() 공개 메소드

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

remove() 공개 메소드

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