%PDF- %PDF-
Direktori : /data/www_bck/varak.net_bck/stats.varak.net/plugins/VisitTime/ |
Current File : //data/www_bck/varak.net_bck/stats.varak.net/plugins/VisitTime/VisitorDetails.php |
<?php /** * Matomo - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\VisitTime; use Piwik\Plugins\Live\VisitorDetailsAbstract; class VisitorDetails extends VisitorDetailsAbstract { public function extendVisitorDetails(&$visitor) { $visitor['visitLocalTime'] = $this->details['visitor_localtime']; $visitor['visitLocalHour'] = date('G', strtotime('2012-12-21 ' . $this->details['visitor_localtime'])); } }