PHP 클래스 Smalot\Magento\Catalog\ProductDownloadableLink

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

공개 메소드들

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