Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getExampleUrl example
$key
=
strtolower
(
$plugin
->
getTechnicalName
(
)
)
;
$plugins
[
$key
]
=
$plugin
;
}
return
$plugins
;
}
public
function
assignStorePluginStruct
(
PluginStruct
$localPlugin
, PluginStruct
$storePlugin
)
{
$localPlugin
->
setExampleUrl
(
$storePlugin
->
getExampleUrl
(
)
)
;
$localPlugin
->
setCode
(
$storePlugin
->
getCode
(
)
)
;
$updateAvailable
=
version_compare
(
$storePlugin
->
getVersion
(
)
,
$localPlugin
->
getVersion
(
)
)
;
$localPlugin
->
setUpdateAvailable
(
(bool)
(
$updateAvailable
== 1
)
)
;
if
(
$storePlugin
->
getDescription
(
)
)
{
$localPlugin
->
setDescription
(
$storePlugin
->
getDescription
(
)
)
;
}