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..
24 Pman::getAuth(); // load company!
25 $au = $this->getAuthUser();
26 $this->authUser = false;
28 $this->authUser = $au;
36 if (!in_array($tbl,$this->validTables)) {
37 $this->jerr("Invalid url");
39 return parent::get($tbl);
43 if (!in_array($tbl,$this->validTables)) {
44 $this->jerr("Invalid url");
46 return parent::post($tbl);
51 // only post requests..???
52 // need perms sorting out first.