mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 03:06:43 +02:00
feat: add analytics and unknown useragents
This commit is contained in:
parent
4651d01a84
commit
ec92e65aa4
44 changed files with 3333 additions and 1987 deletions
21
app/Entities/AnalyticsWebsiteByBrowser.php
Normal file
21
app/Entities/AnalyticsWebsiteByBrowser.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Class AnalyticsWebsiteByBrowser
|
||||
* Entity for AnalyticsWebsiteByBrowser
|
||||
* @copyright 2020 Podlibre
|
||||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
||||
* @link https://castopod.org/
|
||||
*/
|
||||
namespace App\Entities;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class AnalyticsWebsiteByBrowser extends Entity
|
||||
{
|
||||
protected $casts = [
|
||||
'podcast_id' => 'integer',
|
||||
'browser' => 'string',
|
||||
'date' => 'datetime',
|
||||
'hits' => 'integer',
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue