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;
37 if (!in_array($tbl,$this->validTables)) {
38 $this->jerr("Invalid url");
40 return parent::get($tbl);
44 if (!in_array($tbl,$this->validTables)) {
45 $this->jerr("Invalid url");
47 return parent::post($tbl);
52 // only post requests..???
53 // need perms sorting out first.