mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00
39 lines
860 B
PHP
39 lines
860 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace Analytics\Config;
|
||
|
|
||
|
use CodeIgniter\Config\BaseConfig;
|
||
|
|
||
|
class Analytics extends BaseConfig
|
||
|
{
|
||
|
/**
|
||
|
* Gateway to analytic routes.
|
||
|
* By default, all analytics routes will be under `/analytics` path
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $gateway = 'analytics';
|
||
|
|
||
|
/**
|
||
|
* --------------------------------------------------------------------
|
||
|
* Route filters options
|
||
|
* --------------------------------------------------------------------
|
||
|
*/
|
||
|
public $routeFilters = [
|
||
|
'analytics-full-data' => '',
|
||
|
'analytics-data' => '',
|
||
|
'analytics-filtered-data' => '',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* get the full enclosure url
|
||
|
*
|
||
|
* @param string $filename
|
||
|
* @return string
|
||
|
*/
|
||
|
public function getEnclosureUrl(string $enclosureUri)
|
||
|
{
|
||
|
return base_url($enclosureUri);
|
||
|
}
|
||
|
}
|