mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-12 01:05:47 +00:00

- update CI process to include quality stage (tests + code review) - add captainhook to install git pre-commit & pre-push hooks - remove .devcontainer Dockerfile to use project's docker-compose services: all services can now be started automatically using vscode - update docs/setup-development.md
37 lines
845 B
PHP
37 lines
845 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
|
|
* --------------------------------------------------------------------
|
|
* @var array<string, string>
|
|
*/
|
|
public $routeFilters = [
|
|
'analytics-full-data' => '',
|
|
'analytics-data' => '',
|
|
'analytics-filtered-data' => '',
|
|
];
|
|
|
|
/**
|
|
* get the full audio file url
|
|
*/
|
|
public function getAudioFileUrl(string $audioFilePath): string
|
|
{
|
|
return base_url($audioFilePath);
|
|
}
|
|
}
|