
| Current Path : /var/www/html/rocksensor3/web/modules/contrib/visitors/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor3/web/modules/contrib/visitors/src/VisitorsReportInterface.php |
<?php
namespace Drupal\visitors;
/**
* Visitors report data.
*/
interface VisitorsReportInterface {
/**
* The number of hits for each day of the month.
*/
const REFERER_TYPE_INTERNAL_PAGES = 0;
/**
* The number of hits for each day of the month.
*/
const REFERER_TYPE_EXTERNAL_PAGES = 1;
/**
* Get the number of hits for each referer.
*
* @param array $header
* Table header configuration.
*
* @return array
* The number of hits for each referer.
*/
public function referer(array $header);
/**
* Details about the visit.
*
* @param int $hit_id
* The hit id.
*
* @return array
* The details about the visit.
*/
public function hitDetails($hit_id);
}