Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
removeArticleAssignmentments example
public
function
backlogAddAssignment
(
$articleId
,
$categoryId
)
{
$this
->
getCategoryComponent
(
)
->
addAssignment
(
$articleId
,
$categoryId
)
;
}
/** * @param int $articleId */
public
function
backlogRemoveArticle
(
$articleId
)
{
$this
->
getCategoryComponent
(
)
->
removeArticleAssignmentments
(
$articleId
)
;
}
/** * @param int $categoryId */
public
function
backlogRemoveCategory
(
$categoryId
)
{
$this
->
getCategoryComponent
(
)
->
removeCategoryAssignmentments
(
$categoryId
)
;
}
/** * @param int $categoryId */