PHP Класс Smalot\Magento\Catalog\ProductTag

Наследование: extends Smalot\Magento\MagentoModuleAbstract
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

add() публичный метод

Allows you to add one or more tags to a product.
public add ( array $data ) : Smalot\Magento\ActionInterface
$data array
Результат Smalot\Magento\ActionInterface

getInfo() публичный метод

Allows you to retrieve information about the required product tag.
public getInfo ( string $tagId, string $store = null ) : Smalot\Magento\ActionInterface
$tagId string
$store string
Результат Smalot\Magento\ActionInterface

getList() публичный метод

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
Результат Smalot\Magento\ActionInterface

remove() публичный метод

Allows you to remove an existing product tag.
public remove ( string $tagId ) : Smalot\Magento\ActionInterface
$tagId string
Результат Smalot\Magento\ActionInterface

update() публичный метод

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
Результат Smalot\Magento\ActionInterface