PHP Class Smalot\Magento\Catalog\ProductTag

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

Public Methods

Method Description
add ( array $data ) : Smalot\Magento\ActionInterface Allows you to add one or more tags to a product.
getInfo ( string $tagId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve information about the required product tag.
getList ( string $productId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of tags for a specific product.
remove ( string $tagId ) : Smalot\Magento\ActionInterface Allows you to remove an existing product tag.
update ( string $tagId, array $data, string $store = null ) : Smalot\Magento\ActionInterface Allows you to update information about an existing product tag.

Method Details

add() public method

Allows you to add one or more tags to a product.
public add ( array $data ) : Smalot\Magento\ActionInterface
$data array
return Smalot\Magento\ActionInterface

getInfo() public method

Allows you to retrieve information about the required product tag.
public getInfo ( string $tagId, string $store = null ) : Smalot\Magento\ActionInterface
$tagId string
$store string
return Smalot\Magento\ActionInterface

getList() public method

Allows you to retrieve the list of tags for a specific product.
public getList ( string $productId, string $store = null ) : Smalot\Magento\ActionInterface
$productId string
$store string
return Smalot\Magento\ActionInterface

remove() public method

Allows you to remove an existing product tag.
public remove ( string $tagId ) : Smalot\Magento\ActionInterface
$tagId string
return Smalot\Magento\ActionInterface

update() public method

Allows you to update information about an existing product tag.
public update ( string $tagId, array $data, string $store = null ) : Smalot\Magento\ActionInterface
$tagId string
$data array
$store string
return Smalot\Magento\ActionInterface