mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00
39 lines
863 B
PHP
39 lines
863 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 audio file url
|
|
*
|
|
* @param string $filename
|
|
* @return string
|
|
*/
|
|
public function getAudioFileUrl(string $audioFilePath)
|
|
{
|
|
return base_url($audioFilePath);
|
|
}
|
|
}
|