Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setNotices example
foreach
(
$storeExtensions
->
getElements
(
)
as
$storeExtension
)
{
if
(
$localCollection
->
has
(
$storeExtension
->
getName
(
)
)
)
{
/** @var ExtensionStruct $localExtension */
$localExtension
=
$localCollection
->
get
(
$storeExtension
->
getName
(
)
)
;
$localExtension
->
setId
(
$storeExtension
->
getId
(
)
)
;
$localExtension
->
setIsTheme
(
$storeExtension
->
isTheme
(
)
)
;
$localExtension
->
setStoreExtension
(
$storeExtension
)
;
$localExtension
->
setStoreLicense
(
$storeExtension
->
getStoreLicense
(
)
)
;
$localExtension
->
setNotices
(
$storeExtension
->
getNotices
(
)
)
;
if
(
$storeExtension
->
getDescription
(
)
)
{
$localExtension
->
setDescription
(
$storeExtension
->
getDescription
(
)
)
;
}
if
(
$storeExtension
->
getShortDescription
(
)
)
{
$localExtension
->
setShortDescription
(
$storeExtension
->
getShortDescription
(
)
)
;
}
$localExtension
->
setIcon
(
$storeExtension
->
getIcon
(
)
)
;
$localExtension
->
setLabel
(
$storeExtension
->
getLabel
(
)
)
;