Initial commit of DX Waterfall for Wavelog

This commit is contained in:
Szymon Porwolik
2025-10-10 03:02:32 +02:00
parent 4e07116115
commit a0659bb31e
11 changed files with 5216 additions and 30 deletions

View File

@@ -46,6 +46,18 @@ class Band extends CI_Controller {
$this->load->view('interface_assets/footer', $footerData);
}
// API endpoint to get band edges for the logged-in user
public function get_user_bandedges()
{
$this->load->model('bands');
$data = $this->bands->get_all_bandedges_for_user();
header('Content-Type: application/json');
echo json_encode($data);
return;
}
public function create()
{
$this->load->model('bands');