diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-03-04 01:33:08 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-03-04 01:33:08 +0300 |
commit | 6aeea10ed7c6017b7013fe92de35747db49a1f9d (patch) | |
tree | dc363c618ad6ec4e2911a467783e067fa262dc70 /plugins/Live/API.php | |
parent | 8d52548d9ae96d035b63eddbe70386dd8033f5c5 (diff) |
Add new parameter to Live. getLastVisitsDetails API to request more detailed information (#14147)
Diffstat (limited to 'plugins/Live/API.php')
-rw-r--r-- | plugins/Live/API.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Live/API.php b/plugins/Live/API.php index 38af910945..42d62ee1f6 100644 --- a/plugins/Live/API.php +++ b/plugins/Live/API.php @@ -157,9 +157,10 @@ class API extends \Piwik\Plugin\API * @param bool|int $minTimestamp (optional) Minimum timestamp to restrict the query to (useful when paginating or refreshing visits) * @param bool $flat * @param bool $doNotFetchActions + * @param bool $enhanced for plugins that want to expose additional information * @return DataTable */ - public function getLastVisitsDetails($idSite, $period = false, $date = false, $segment = false, $countVisitorsToFetch = false, $minTimestamp = false, $flat = false, $doNotFetchActions = false) + public function getLastVisitsDetails($idSite, $period = false, $date = false, $segment = false, $countVisitorsToFetch = false, $minTimestamp = false, $flat = false, $doNotFetchActions = false, $enhanced = false) { Piwik::checkUserHasViewAccess($idSite); $idSite = Site::getIdSitesFromIdSitesString($idSite); |