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..
25 Pman::getAuth(); // load company!
26 $au = $this->getAuthUser();
27 $this->authUser = false;
29 $this->authUser = $au;
38 if (!in_array($tbl,$this->validTables)) {
39 $this->jerr("Invalid url");
44 return parent::get($tbl);
49 if (!in_array($tbl,$this->validTables)) {
50 $this->jerr("Invalid url");
52 return parent::post($tbl);
57 // only post requests..???
58 // need perms sorting out first.