4 require_once 'Pman/Roo.php';
8 * This extends the standard Roo API
10 * however it has to verify that we send data protected, as it's pretty open!!!
16 class MTrackWeb_Roo extends Pman_Roo
18 var $validTables = array(
19 'mtrack_ticket', /// all of these MUST have applyFilters, and check authenication..
26 Pman::getAuth(); // load company!
27 $au = $this->getAuthUser();
28 $this->authUser = false;
30 $this->authUser = $au;
39 if (!in_array($tbl,$this->validTables)) {
40 $this->jerr("Invalid url");
45 return parent::get($tbl);
50 if (!in_array($tbl,$this->validTables)) {
51 $this->jerr("Invalid url");
53 return parent::post($tbl);
58 // only post requests..???
59 // need perms sorting out first.