// --------------- index.php

$app->route('GET|POST /ab/data/@data', 'ab_controllers_data->{{@PARAMS.data}}');

// --------------- ab_controllers_data.php

class ab_controllers_data {
	function bookings(){
		$timerActivity = new timer();
		$pID = (isset($_REQUEST['pID'])) ? $_REQUEST['pID'] : exit(json_encode($GLOBALS["errors"]['P01']));

		$records = models_ab_bookings::getAll();

		$timerActivity->stop("DATA - bookings");
		$GLOBALS["output"]['data'] = $records;
	}

}

// --------------- models_ab_bookings.php
use \F3 as F3;
use \Axon as Axon;
use \timer as timer;
class models_ab_bookings {
	public $ID;
	private $dbStructure;

	function __construct() {
		$classname = get_class($this);
		$this->dbStructure = $classname::dbStructure();

	}
	public static function getAll($where = "", $orderby = "client ASC") {
		$timer = new timer();

		$return = "moo";

		$timer->stop("Models - ab_bookings - getAll", func_get_args());
		return $return;
	}



in theory it should all return "moo" but doesnt... NetworkError: 404 - http://adbooker.local/ab/data/bookings?pID=1"