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

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

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

Метод Описание
add ( string $productId, array $resource, string $resourceType, string $store = null, string $identifierType = null ) : Smalot\Magento\ActionInterface Allows you to add a new link to a downloadable product.
getList ( string $productId, string $store = null, string $identifierType = null ) : Smalot\Magento\ActionInterface Allows you to retrieve a list of links of a downloadable product.
remove ( string $linkId, string $resourceType ) : Smalot\Magento\ActionInterface Allows you to remove a link/sample from a downloadable product.

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

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

Allows you to add a new link to a downloadable product.
public add ( string $productId, array $resource, string $resourceType, string $store = null, string $identifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$resource array
$resourceType string
$store string
$identifierType string
Результат Smalot\Magento\ActionInterface

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

Allows you to retrieve a list of links of a downloadable product.
public getList ( string $productId, string $store = null, string $identifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$store string
$identifierType string
Результат Smalot\Magento\ActionInterface

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

Allows you to remove a link/sample from a downloadable product.
public remove ( string $linkId, string $resourceType ) : Smalot\Magento\ActionInterface
$linkId string
$resourceType string
Результат Smalot\Magento\ActionInterface