Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getSelectedShopIds example
(int)
$this
->
Request
(
)
->
getParam
(
'limit',
$limit
)
)
;
$this
->
send
(
$splice
, \
count
(
$data
)
)
;
}
/** * @return void */
public
function
getRatingAction
(
)
{
$shopIds
=
$this
->
getSelectedShopIds
(
)
;
$visitors
=
$this
->
getRepository
(
)
->
getDailyShopVisitors
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
,
$shopIds
)
;
$visitors
=
array_map
(
'reset',
$visitors
->
getData
(
)
)
;
$orders
=
$this
->
getRepository
(
)
->
getDailyShopOrders
(
$this
->
getFromDate
(
)
,
$this
->
getToDate
(
)
,
$shopIds
)
;